diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/bcm2835-vc/Makefile | 1 | ||||
-rw-r--r-- | package/busybox/Makefile | 6 | ||||
-rw-r--r-- | package/cfgfs/Makefile | 3 | ||||
-rw-r--r-- | package/dropbear/Makefile | 9 | ||||
-rw-r--r-- | package/gdb/Makefile | 6 | ||||
-rw-r--r-- | package/llvm/Makefile | 2 | ||||
-rw-r--r-- | package/musl/Config.in.manual | 1 | ||||
-rw-r--r-- | package/musl/Makefile | 3 | ||||
-rw-r--r-- | package/tzdata/Makefile | 11 | ||||
-rw-r--r-- | package/tzdata/patches/patch-Makefile | 30 | ||||
-rw-r--r-- | package/tzdata/patches/patch-date_c | 6 |
11 files changed, 40 insertions, 38 deletions
diff --git a/package/bcm2835-vc/Makefile b/package/bcm2835-vc/Makefile index bf78120a8..8df9cb6bb 100644 --- a/package/bcm2835-vc/Makefile +++ b/package/bcm2835-vc/Makefile @@ -11,6 +11,7 @@ PKG_DESCR:= vc tools for raspberry pi (bcm2835) PKG_SECTION:= base PKG_SITES:= http://openadk.org/distfiles/ +PKG_LIBC_DEPENDS:= eglibc glibc PKG_SYSTEM_DEPENDS:= raspberry-pi PKG_SUBPKGS:= BCM2835_VC BCM2835_VC_DEV diff --git a/package/busybox/Makefile b/package/busybox/Makefile index e95c58045..b9476be3e 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -38,11 +38,7 @@ 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) -ifeq ($(ADK_TARGET_LIB_STATIC_LIBGCC),) -BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" EXTRA_LDFLAGS='-static-libgcc' -else -BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" -endif +BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" EXTRA_LDFLAGS="-static-libgcc" else BB_MAKE_FLAGS+= EXTRA_LDFLAGS="-static-libgcc" endif diff --git a/package/cfgfs/Makefile b/package/cfgfs/Makefile index 3e53f845c..159bd229b 100644 --- a/package/cfgfs/Makefile +++ b/package/cfgfs/Makefile @@ -26,10 +26,7 @@ $(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 65fe397e4..69eb5ff5d 100644 --- a/package/dropbear/Makefile +++ b/package/dropbear/Makefile @@ -26,10 +26,13 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,DROPBEAR,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,DBCONVERT,dropbearconvert,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_DBCONVERT},${PKG_SECTION})) -TARGET_LDFLAGS+= $(ADK_TARGET_ABI_CFLAGS) -static -ifeq ($(ADK_TARGET_LIB_STATIC_LIBGCC),y) -TARGET_LDFLAGS+= -static-libgcc +TARGET_LDFLAGS+= $(ADK_TARGET_ABI_CFLAGS) + +ifeq ($(ADK_STATIC),y) +TARGET_LDFLAGS+= -static endif + +TARGET_LDFLAGS+= -static-libgcc BUILD_STYLE:= manual INSTALL_STYLE:= manual CONFIGURE_ARGS+= --disable-pam \ diff --git a/package/gdb/Makefile b/package/gdb/Makefile index 3b9b3f149..85a40b195 100644 --- a/package/gdb/Makefile +++ b/package/gdb/Makefile @@ -16,9 +16,9 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -#ifeq ($(ADK_STATIC),y) -#TARGET_CFLAGS+= -static -#endif +ifeq ($(ADK_STATIC),y) +TARGET_CFLAGS+= -static +endif TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS)) TARGET_CFLAGS+= ${TARGET_CPPFLAGS} -fPIC diff --git a/package/llvm/Makefile b/package/llvm/Makefile index 091124132..c30fa8bf2 100644 --- a/package/llvm/Makefile +++ b/package/llvm/Makefile @@ -42,6 +42,8 @@ do-build: do-install: env GCC_HONOUR_COPTS=s ${MAKE} -C ${WRKBUILD}/BuildTools DESTDIR=$(STAGING_TARGET_DIR) install env GCC_HONOUR_COPTS=s ${MAKE} -C ${WRKBUILD}/BuildTools DESTDIR=$(WRKINST) install + cp ${WRKBUILD}/BuildTools/BuildTools/Release+Asserts/bin/llvm-config \ + $(STAGING_TARGET_DIR)/usr/bin llvm-install: $(INSTALL_DIR) $(IDIR_LLVM)/usr/bin diff --git a/package/musl/Config.in.manual b/package/musl/Config.in.manual index a3881c1e8..19f590e61 100644 --- a/package/musl/Config.in.manual +++ b/package/musl/Config.in.manual @@ -4,7 +4,6 @@ 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. diff --git a/package/musl/Makefile b/package/musl/Makefile index f37fd2eb2..7c7874aa9 100644 --- a/package/musl/Makefile +++ b/package/musl/Makefile @@ -25,10 +25,13 @@ INSTALL_STYLE:= manual # do nothing, musl is already build in toolchain directory do-install: + ${INSTALL_DIR} $(IDIR_MUSL)/usr/bin ${INSTALL_DIR} $(IDIR_MUSL)/$(ADK_TARGET_LIBC_PATH) $(CP) $(STAGING_TARGET_DIR)/usr/lib/libc.so $(IDIR_MUSL)/$(ADK_TARGET_LIBC_PATH) (cd $(IDIR_MUSL)/$(ADK_TARGET_LIBC_PATH) && \ ln -sf libc.so ld-musl-$(ARCH).so.1) + (cd $(IDIR_MUSL)/usr/bin && \ + ln -sf ../../lib/ld-musl-$(ARCH).so.1 ldd) musl-dev-install: diff --git a/package/tzdata/Makefile b/package/tzdata/Makefile index 5effefd74..68f9cd035 100644 --- a/package/tzdata/Makefile +++ b/package/tzdata/Makefile @@ -4,17 +4,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:= tzdata -PKG_VERSION:= 2010o +PKG_VERSION:= 2013d PKG_RELEASE:= 1 -PKG_MD5SUM:= 5cae5c56fad81dc29f8fcd933a05768e a7a776a5713831993e814fe0c05f9fd5 +PKG_MD5SUM:= 65b6818162230fc02f86f293376c73df 4616a9560270f180eeb9a08540636890 PKG_DESCR:= Timezone data (/usr/share/zoneinfo) PKG_SECTION:= utils -PKG_URL:= ftp://elsie.nci.nih.gov/pub/ -PKG_SITES:= ftp://elsie.nci.nih.gov/pub/ +PKG_URL:= http://www.iana.org/time-zones/ +PKG_SITES:= http://www.iana.org/time-zones/repository/releases/ PKG_NOPARALLEL:= 1 -# Note that tzcode does NOT have the same version as tzdata does :[ -DISTFILES:= ${PKG_NAME}${PKG_VERSION}.tar.gz tzcode2010n.tar.gz +DISTFILES:= ${PKG_NAME}${PKG_VERSION}.tar.gz tzcode${PKG_VERSION}.tar.gz # both archives do not extract into subdirectories WRKDIST= ${WRKDIR} diff --git a/package/tzdata/patches/patch-Makefile b/package/tzdata/patches/patch-Makefile index d8b759a8c..1938011c5 100644 --- a/package/tzdata/patches/patch-Makefile +++ b/package/tzdata/patches/patch-Makefile @@ -1,22 +1,24 @@ ---- w-tzdata-2010o-1.orig/Makefile 2010-10-12 18:36:50.000000000 +0200 -+++ w-tzdata-2010o-1/Makefile 2011-01-22 22:10:00.358658180 +0100 -@@ -212,13 +212,13 @@ GCC_DEBUG_FLAGS = -Dlint -g -O -fno-comm +--- w-tzdata-2013d-1.orig/Makefile 2013-07-05 16:38:01.000000000 +0200 ++++ w-tzdata-2013d-1/Makefile 2013-08-14 12:58:49.000000000 +0200 +@@ -231,7 +231,7 @@ GCC_DEBUG_FLAGS = -Dlint -g3 -O3 -fno-co # before the first Monday in January when a "%V" format is used and January 1 # falls on a Friday, Saturday, or Sunday. -CFLAGS= +CFLAGS?= - # If you want zic's -s option used when installing, uncomment the next line - # ZFLAGS= -s + # Linker flags. Default to $(LFLAGS) for backwards compatibility + # to tzcode2012h and earlier. +@@ -239,7 +239,7 @@ CFLAGS= + LDFLAGS= $(LFLAGS) zic= ./zic -ZIC= $(zic) $(ZFLAGS) +ZIC= ./zic_for_build $(ZFLAGS) # The name of a Posix-compliant `awk' on your system. - AWK= nawk -@@ -279,7 +279,7 @@ ENCHILADA= $(DOCS) $(SOURCES) $(DATA) $( + AWK= awk +@@ -330,7 +330,7 @@ ENCHILADA= $(COMMON) $(DOCS) $(SOURCES) SHELL= /bin/sh @@ -25,11 +27,11 @@ ALL: all date -@@ -309,6 +309,14 @@ INSTALL: ALL install date.1 - -rm -f $(MANDIR)/man1/date.1 - cp date.1 $(MANDIR)/man1/. +@@ -365,6 +365,14 @@ version.h: + echo 'static char const TZVERSION[]="$(VERSION)";' && \ + echo 'static char const REPORT_BUGS_TO[]="$(BUGEMAIL)";') >$@ -+zic_for_build: ++zic_for_build: version.h + $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) zic.c -o zic_build.o + $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) localtime.c -o localtime_build.o + $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) asctime.c -o asctime_build.o @@ -38,9 +40,9 @@ + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o $@ zic_build.o localtime_build.o asctime_build.o scheck_build.o ialloc_build.o + zdump: $(TZDOBJS) - $(CC) $(CFLAGS) $(LFLAGS) $(TZDOBJS) $(LDLIBS) -o $@ + $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(TZDOBJS) $(LDLIBS) -@@ -319,10 +327,10 @@ yearistype: yearistype.sh +@@ -375,10 +383,10 @@ yearistype: yearistype.sh cp yearistype.sh yearistype chmod +x yearistype @@ -53,7 +55,7 @@ $(ZIC) -y $(YEARISTYPE) -d $(TZDIR) -L leapseconds $(TDATA) # In earlier versions of this makefile, the other two directories were -@@ -334,7 +342,7 @@ right_only: zic leapseconds $(TDATA) +@@ -390,7 +398,7 @@ right_only: zic leapseconds $(TDATA) # Therefore, the other two directories are now siblings of $(TZDIR). # You must replace all of $(TZDIR) to switch from not using leap seconds # to using them, or vice versa. diff --git a/package/tzdata/patches/patch-date_c b/package/tzdata/patches/patch-date_c index dbdeb3aed..1f93988b2 100644 --- a/package/tzdata/patches/patch-date_c +++ b/package/tzdata/patches/patch-date_c @@ -1,7 +1,7 @@ strchr() is false defined here ---- w-tzdata-2010o-1.orig/date.c 2010-10-12 18:36:51.000000000 +0200 -+++ w-tzdata-2010o-1/date.c 2011-02-28 00:57:57.274000374 +0100 -@@ -69,7 +69,6 @@ extern char * getlogin(); +--- w-tzdata-2013d-1.orig/date.c 2013-05-28 06:26:18.000000000 +0200 ++++ w-tzdata-2013d-1/date.c 2013-08-14 12:54:54.000000000 +0200 +@@ -60,7 +60,6 @@ extern char * getlogin(); extern time_t mktime(); extern char * optarg; extern int optind; |