diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-14 15:25:36 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-14 15:25:36 +0200 |
commit | 1c089110a33d3994fd19ec8fc169cc1cb16c98f8 (patch) | |
tree | 8c3855c52e04ad6884c6009dc9eaaa8328c6c847 /package | |
parent | 7a58bf1a8b74868130ef997e193557dde7d57c1e (diff) |
sorry libgcc problem still exist. don't know why
Diffstat (limited to 'package')
-rw-r--r-- | package/busybox/Makefile | 6 | ||||
-rw-r--r-- | package/cfgfs/Makefile | 2 | ||||
-rw-r--r-- | package/dropbear/Makefile | 3 | ||||
-rw-r--r-- | package/musl/Config.in.manual | 1 |
4 files changed, 11 insertions, 1 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile index b9476be3e..4d751a2b1 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -38,7 +38,11 @@ BB_MAKE_FLAGS:= V=1 IPKG_ARCH="${CPU_ARCH}" ARCH="${ARCH}" GCC_HONOUR_COPTS=s \ HOSTCC="${CC_FOR_BUILD}" HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" \ -C ${WRKBUILD} ifneq (${ADK_NATIVE},y) -BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" EXTRA_LDFLAGS="-static-libgcc" +ifeq ($(ADK_TARGET_LIB_STATIC_LIBGCC),y) +BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" EXTRA_LDFLAGS='-static-libgcc' +else +BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" +endif else BB_MAKE_FLAGS+= EXTRA_LDFLAGS="-static-libgcc" endif diff --git a/package/cfgfs/Makefile b/package/cfgfs/Makefile index 159bd229b..5c902fc1e 100644 --- a/package/cfgfs/Makefile +++ b/package/cfgfs/Makefile @@ -26,7 +26,9 @@ $(eval $(call PKG_template,CFGFS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG CONFIG_STYLE:= manual INSTALL_STYLE:= manual +ifeq ($(ADK_TARGET_LIB_STATIC_LIBGCC),y) TARGET_LDFLAGS+= -static-libgcc +endif do-install: ${INSTALL_DIR} ${IDIR_CFGFS}/sbin diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile index 69eb5ff5d..08a0743d3 100644 --- a/package/dropbear/Makefile +++ b/package/dropbear/Makefile @@ -32,7 +32,9 @@ ifeq ($(ADK_STATIC),y) TARGET_LDFLAGS+= -static endif +ifeq ($(ADK_TARGET_LIB_STATIC_LIBGCC),y) TARGET_LDFLAGS+= -static-libgcc +endif BUILD_STYLE:= manual INSTALL_STYLE:= manual CONFIGURE_ARGS+= --disable-pam \ @@ -52,6 +54,7 @@ else CONFIGURE_ENV+= conf_utmp_location=/var/run/utmp endif + pre-configure: $(SED) 's,^/\* #define PKG_MULTI.*,#define PKG_MULTI,g' $(WRKBUILD)/options.h $(SED) 's,^#define DO_HOST_LOOKUP,/* & */,g' $(WRKBUILD)/options.h diff --git a/package/musl/Config.in.manual b/package/musl/Config.in.manual index 19f590e61..a3881c1e8 100644 --- a/package/musl/Config.in.manual +++ b/package/musl/Config.in.manual @@ -4,6 +4,7 @@ config ADK_PACKAGE_MUSL default y if ADK_TARGET_LIB_MUSL && !ADK_TOOLCHAIN_ONLY default n depends on ADK_TARGET_LIB_MUSL + select ADK_PACKAGE_LIBGCC help Embedded C library. |