summaryrefslogtreecommitdiff
path: root/package/mrd6/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
commitd279b5d1fe744cac44da7cd1b51f9ba6a2cc4647 (patch)
treebf575aca8f9ce9cf088ce3aee992fc846cd6e130 /package/mrd6/Makefile
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
fix libmix packages, while checking all packages make some style cleanup
Diffstat (limited to 'package/mrd6/Makefile')
-rw-r--r--package/mrd6/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/mrd6/Makefile b/package/mrd6/Makefile
index 783a03cd5..909a7359a 100644
--- a/package/mrd6/Makefile
+++ b/package/mrd6/Makefile
@@ -20,11 +20,14 @@ WRKBUILD= ${WRKSRC}/src
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,MRD6,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,MRD6,mrd6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
+ifeq (${ADK_COMPILE_MRD6_WITH_UCLIBCXX},y)
LIBRARIES:=-nodefaultlibs -luClibc++
+endif
+
ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
LIBRARIES+=-lssp -lssp_nonshared
endif
@@ -36,7 +39,7 @@ TARGET_LDFLAGS+= -shared ${LIBRARIES}
endif
XAKE_FLAGS+= EXTRA_FLAGS="${TARGET_CFLAGS}"
-post-install:
+mrd6-install:
${INSTALL_DIR} ${IDIR_MRD6}/usr/sbin ${IDIR_MRD6}/etc
${INSTALL_DIR} ${IDIR_MRD6}/usr/lib/mrd6 ${IDIR_MRD6}/usr/bin
${INSTALL_DATA} ./files/${PKG_NAME}.conf ${IDIR_MRD6}/etc