diff options
19 files changed, 141 insertions, 264 deletions
@@ -1,10 +1,12 @@ 2010.02, Not yet released: + Toolchain: uClibc 0.9.30.2 + New packages: libcdaudio, libdvdnav, libdvdread, hostapd, tcpreplay - Updated/fixed packages: autoconf, bind, binutils, busybox, - directfb, e2fsprogs, gst-plugins-bad, hal, iw, libfuse, libpcap, - lighttpd, mesa, mpg123, mtd-utils, neon, pcre, qt, sshfs, + Updated/fixed packages: autoconf, bind, binutils, bootutils, busybox, + directfb, e2fsprogs, gst-plugins-bad, hal, iw, jpeg, libfuse, libpcap, + libungif, lighttpd, mesa, mpg123, mtd-utils, neon, pcre, qt, sshfs, tremor, u-boot, usbutils, xfsprogs Issues resolved (http://bugs.uclibc.org): @@ -24,8 +26,10 @@ #767: Bump iw package to 0.9.18 #773: [SECURITY] Update bind to 9.5.2-P1 #795: Minor edits to fix typos, grammar, spelling, usage in documen... + #813: Drop not very useful generic package selection options ... #823: Editor backup files (~) is copied from the target_skeleton #827: Bump mtd-utils package to version 1.2.0 + #841: Build error 2009.11, Released December 1st, 2009: diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 09f44b46f..f0f189f90 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -140,12 +140,13 @@ define LIBTOOL_PATCH_HOOK $(Q)if test "$$($$(PKG)_LIBTOOL_PATCH)" = "YES" -a \ "$$($$(PKG)_AUTORECONF)" != "YES"; then \ for i in `find $$($$(PKG)_SRCDIR) -name ltmain.sh`; do \ - toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \ + toolchain/patch-kernel.sh $$$${i%/*} package buildroot-libtool.patch; \ done \ fi endef -ifeq ($($(2)_LIBTOOL_PATCH),YES) +# default values are not evaluated yet, so don't rely on this defaulting to YES +ifneq ($($(2)_LIBTOOL_PATCH),NO) $(2)_POST_PATCH_HOOKS += LIBTOOL_PATCH_HOOK endif diff --git a/package/bootutils/bootutils.mk b/package/bootutils/bootutils.mk index fda0a4d23..dd2247909 100644 --- a/package/bootutils/bootutils.mk +++ b/package/bootutils/bootutils.mk @@ -3,7 +3,7 @@ # bootutils # ############################################################# -BOOTUTILS_VERSION = 0.0.9 +BOOTUTILS_VERSION = 1.0.0 BOOTUTILS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/bootutils BOOTUTILS_CONF_OPT = --prefix=/ --exec-prefix=/ diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk index 63f3caa98..276009c63 100644 --- a/package/dbus/dbus.mk +++ b/package/dbus/dbus.mk @@ -7,6 +7,7 @@ DBUS_VERSION = 1.2.16 DBUS_SOURCE = dbus-$(DBUS_VERSION).tar.gz DBUS_SITE = http://dbus.freedesktop.org/releases/dbus/ DBUS_LIBTOOL_PATCH = NO +HOST_DBUS_LIBTOOL_PATCH = NO DBUS_INSTALL_STAGING = YES DBUS_INSTALL_TARGET = YES ifeq ($(BR2_ENABLE_DEBUG),y) diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk index 57b2e17eb..a4ee3bc9e 100644 --- a/package/directfb/directfb.mk +++ b/package/directfb/directfb.mk @@ -9,6 +9,7 @@ DIRECTFB_SITE:=http://www.directfb.org/downloads/Core/DirectFB-$(DIRECTFB_VERSIO DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz DIRECTFB_AUTORECONF = NO DIRECTFB_LIBTOOL_PATCH = NO +HOST_DIRECTFB_LIBTOOL_PATCH = NO DIRECTFB_INSTALL_STAGING = YES DIRECTFB_INSTALL_TARGET = YES diff --git a/package/expat/expat.mk b/package/expat/expat.mk index 5b4eb97e2..368a297e1 100644 --- a/package/expat/expat.mk +++ b/package/expat/expat.mk @@ -8,6 +8,7 @@ EXPAT_VERSION = 2.0.1 EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.gz EXPAT_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/expat EXPAT_LIBTOOL_PATCH = NO +HOST_EXPAT_LIBTOOL_PATCH = NO EXPAT_INSTALL_STAGING = YES EXPAT_INSTALL_TARGET = YES # no install-strip / install-exec diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index ed73253e4..abc0afc86 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -7,6 +7,7 @@ FREETYPE_VERSION = 2.3.9 FREETYPE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/freetype FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2 FREETYPE_LIBTOOL_PATCH = NO +HOST_FREETYPE_LIBTOOL_PATCH = NO FREETYPE_INSTALL_STAGING = YES FREETYPE_INSTALL_TARGET = YES FREETYPE_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install diff --git a/package/jpeg/jpeg.mk b/package/jpeg/jpeg.mk index 2688084c4..c3754d4b6 100644 --- a/package/jpeg/jpeg.mk +++ b/package/jpeg/jpeg.mk @@ -21,77 +21,16 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA JPEG_VERSION:=6b -JPEG_DIR=$(BUILD_DIR)/jpeg-$(JPEG_VERSION) JPEG_SITE:=ftp://ftp.uu.net/graphics/jpeg/ JPEG_SOURCE=jpegsrc.v$(JPEG_VERSION).tar.gz -JPEG_CAT:=$(ZCAT) +JPEG_INSTALL_STAGING = YES +JPEG_INSTALL_TARGET = YES +JPEG_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install +JPEG_LIBTOOL_PATCH = NO +JPEG_CONF_OPT = --without-x --enable-shared --enable-static -$(DL_DIR)/$(JPEG_SOURCE): - $(call DOWNLOAD,$(JPEG_SITE),$(JPEG_SOURCE)) +$(eval $(call AUTOTARGETS,package,jpeg)) -jpeg-source: $(DL_DIR)/$(JPEG_SOURCE) - -$(JPEG_DIR)/.unpacked: $(DL_DIR)/$(JPEG_SOURCE) - $(JPEG_CAT) $(DL_DIR)/$(JPEG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - toolchain/patch-kernel.sh $(JPEG_DIR) package/jpeg/ jpeg\*.patch - $(CONFIG_UPDATE) $(JPEG_DIR) - touch $@ - -$(JPEG_DIR)/.configured: $(JPEG_DIR)/.unpacked - (cd $(JPEG_DIR); rm -rf config.cache; \ - $(TARGET_CONFIGURE_OPTS) \ - $(TARGET_CONFIGURE_ARGS) \ - ./configure $(QUIET) \ - --target=$(GNU_TARGET_NAME) \ - --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ - --prefix=/usr \ - --exec-prefix=/usr \ - --bindir=/usr/bin \ - --sbindir=/usr/sbin \ - --libdir=/usr/lib \ - --libexecdir=/usr/lib \ - --sysconfdir=/etc \ - --datadir=/usr/share \ - --localstatedir=/var \ - --includedir=/usr/include \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-shared \ - --enable-static \ - --without-x \ - ) +$(JPEG_HOOK_POST_INSTALL): + rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtrans rdjpgcom wrjpgcom) touch $@ - -$(JPEG_DIR)/.libs/libjpeg.a: $(JPEG_DIR)/.configured - $(MAKE) -C $(JPEG_DIR) all - touch -c $@ - -$(STAGING_DIR)/usr/lib/libjpeg.a: $(JPEG_DIR)/.libs/libjpeg.a - $(MAKE) DESTDIR=$(STAGING_DIR) -C $(JPEG_DIR) install - cp -f $(JPEG_DIR)/libjpeg.la $(STAGING_DIR)/usr/lib - $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libjpeg.la - touch -c $@ - -$(TARGET_DIR)/usr/lib/libjpeg.so: $(STAGING_DIR)/usr/lib/libjpeg.a - mkdir -p $(TARGET_DIR)/usr/lib - cp -dpf $(STAGING_DIR)/usr/lib/libjpeg.so* $(TARGET_DIR)/usr/lib/ - -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libjpeg.so* - touch -c $@ - -jpeg: $(TARGET_DIR)/usr/lib/libjpeg.so - -jpeg-clean: - -$(MAKE) -C $(JPEG_DIR) clean - -jpeg-dirclean: - rm -rf $(JPEG_DIR) - -############################################################# -# -# Toplevel Makefile options -# -############################################################# -ifeq ($(BR2_PACKAGE_JPEG),y) -TARGETS+=jpeg -endif diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk index 04e3f2dd9..5ef7e2517 100644 --- a/package/libglib2/libglib2.mk +++ b/package/libglib2/libglib2.mk @@ -11,6 +11,7 @@ LIBGLIB2_SITE = http://ftp.gtk.org/pub/glib/$(LIBGLIB2_VERSION_MAJOR) LIBGLIB2_AUTORECONF = NO LIBGLIB2_LIBTOOL_PATCH = NO +HOST_LIBGLIB2_LIBTOOL_PATCH = NO LIBGLIB2_INSTALL_STAGING = YES LIBGLIB2_INSTALL_TARGET = YES LIBGLIB2_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install diff --git a/package/libungif/libungif.mk b/package/libungif/libungif.mk index 6e3be9cb8..466a72c23 100644 --- a/package/libungif/libungif.mk +++ b/package/libungif/libungif.mk @@ -6,64 +6,19 @@ LIBUNGIF_VERSION:=4.1.4 LIBUNGIF_SOURCE:=libungif-$(LIBUNGIF_VERSION).tar.bz2 LIBUNGIF_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/giflib -LIBUNGIF_DIR:=$(BUILD_DIR)/libungif-$(LIBUNGIF_VERSION) -LIBUNGIF_CAT:=$(BZCAT) -LIBUNGIF_BINARY:=libungif.so.$(LIBUNGIF_VERSION) -LIBUNGIF_TARGET_BINARY:=usr/lib/libungif.so +LIBUNGIF_INSTALL_STAGING = YES +LIBUNGIF_INSTALL_TARGET = YES -$(DL_DIR)/$(LIBUNGIF_SOURCE): - $(call DOWNLOAD,$(LIBUNGIF_SITE),$(LIBUNGIF_SOURCE)) +LIBUNGIF_CONF_OPT = --without-x -libungif-source: $(DL_DIR)/$(LIBUNGIF_SOURCE) +LIBUNGIF_BINS = gif2epsn gif2ps gif2rgb gif2x11 gifasm gifbg gifburst gifclip \ + gifclrmp gifcolor gifcomb gifcompose giffiltr giffix gifflip \ + gifhisto gifinfo gifinter gifinto gifovly gifpos gifrotat \ + gifrsize gifspnge giftext gifwedge icon2gif raw2gif rgb2gif \ + text2gif -$(LIBUNGIF_DIR)/.unpacked: $(DL_DIR)/$(LIBUNGIF_SOURCE) - $(LIBUNGIF_CAT) $(DL_DIR)/$(LIBUNGIF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - toolchain/patch-kernel.sh $(LIBUNGIF_DIR) package/libungif/ libungif-$(LIBUNGIF_VERSION)\*.patch\* - $(CONFIG_UPDATE) $(LIBUNGIF_DIR) - touch $@ +$(eval $(call AUTOTARGETS,package,libungif)) -$(LIBUNGIF_DIR)/.configured: $(LIBUNGIF_DIR)/.unpacked - (cd $(LIBUNGIF_DIR); rm -rf config.cache; \ - $(TARGET_CONFIGURE_ARGS) \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - ./configure $(QUIET) \ - --target=$(GNU_TARGET_NAME) \ - --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ - --sysconfdir=/etc \ - --enable-shared \ - --enable-static \ - --prefix=/usr \ - --without-x \ - ) +$(LIBUNGIF_HOOK_POST_INSTALL): + rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(LIBUNGIF_BINS)) touch $@ - -$(LIBUNGIF_DIR)/lib/.libs/libungif.a: $(LIBUNGIF_DIR)/.configured - $(MAKE) -C $(LIBUNGIF_DIR) - -$(STAGING_DIR)/usr/lib/libungif.a: $(LIBUNGIF_DIR)/lib/.libs/libungif.a - $(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBUNGIF_DIR) install - $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libungif.la - -$(TARGET_DIR)/$(LIBUNGIF_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libungif.a - cp -dpf $(STAGING_DIR)/$(LIBUNGIF_TARGET_BINARY)* $(TARGET_DIR)/usr/lib/ - -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(LIBUNGIF_TARGET_BINARY)* - -libungif: $(TARGET_DIR)/$(LIBUNGIF_TARGET_BINARY) - -libungif-clean: - rm -f $(TARGET_DIR)/$(LIBUNGIF_TARGET_BINARY)* - -$(MAKE) -C $(LIBUNGIF_DIR) clean - -libungif-dirclean: - rm -rf $(LIBUNGIF_DIR) -############################################################# -# -# Toplevel Makefile options -# -############################################################# -ifeq ($(BR2_PACKAGE_LIBUNGIF),y) -TARGETS+=libungif -endif diff --git a/package/mtd/Config.in b/package/mtd/Config.in index 125175f39..b5a2668cf 100644 --- a/package/mtd/Config.in +++ b/package/mtd/Config.in @@ -31,11 +31,6 @@ config BR2_PACKAGE_MTD_DOCFDISK config BR2_PACKAGE_MTD_DOC_LOADBIOS bool "doc_loadbios" -config BR2_PACKAGE_MTD_ERASE - bool "erase" - default y - depends on BR2_PACKAGE_MTD_20050122 - config BR2_PACKAGE_MTD_FLASHCP bool "flashcp" default y @@ -56,6 +51,12 @@ config BR2_PACKAGE_MTD_FLASH_LOCK bool "flash_lock" default y +config BR2_PACKAGE_MTD_FLASH_OTP_DUMP + bool "flash_otp_dump" + +config BR2_PACKAGE_MTD_FLASH_OTP_INFO + bool "flash_otp_info" + config BR2_PACKAGE_MTD_FLASH_UNLOCK bool "flash_unlock" default y @@ -72,19 +73,10 @@ config BR2_PACKAGE_MTD_JFFS2DUMP bool "jffs2dump" default y -config BR2_PACKAGE_MTD_JFFS3DUMP - bool "jffs3dump" - default y - depends on BR2_PACKAGE_MTD_20050122 - config BR2_PACKAGE_MTD_MKFSJFFS2 bool "mkfs.jffs2" default y -config BR2_PACKAGE_MTD_MKFSJFFS - bool "mkfs.jffs" - depends on BR2_PACKAGE_MTD_20050122 || BR2_PACKAGE_MTD_20061007 || BR2_PACKAGE_MTD_UTILS - config BR2_PACKAGE_MTD_MTD_DEBUG bool "mtd_debug" default y @@ -96,17 +88,28 @@ config BR2_PACKAGE_MTD_NANDDUMP config BR2_PACKAGE_MTD_NANDTEST bool "nandtest" default y - depends on BR2_PACKAGE_MTD_UTILS_GIT config BR2_PACKAGE_MTD_NANDWRITE bool "nandwrite" default y +config BR2_PACKAGE_MTD_NFTLDUMP + bool "nftldump" + config BR2_PACKAGE_MTD_NFTL_FORMAT bool "nftl_format" -config BR2_PACKAGE_MTD_NFTLDUMP - bool "nftldump" +config BR2_PACKAGE_MTD_RECV_IMAGE + bool "recv_image" + +config BR2_PACKAGE_MTD_RFDDUMP + bool "rfddump" + +config BR2_PACKAGE_MTD_RFDFORMAT + bool "rfdformat" + +config BR2_PACKAGE_MTD_SERVE_IMAGE + bool "serve_image" config BR2_PACKAGE_MTD_SUMTOOL bool "sumtool" diff --git a/package/mtd/mtd-utils.git/mtd.mk b/package/mtd/mtd-utils.git/mtd.mk index 6cb45c29e..f65b171a0 100644 --- a/package/mtd/mtd-utils.git/mtd.mk +++ b/package/mtd/mtd-utils.git/mtd.mk @@ -74,37 +74,43 @@ $(MTD_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE) MTD_TARGETS_n := MTD_TARGETS_y := -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASE) += flash_erase -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASEALL) += flash_eraseall -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_INFO) += flash_info -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_LOCK) += flash_lock -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_UNLOCK) += flash_unlock -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASHCP) += flashcp -MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSJFFS2) += mkfs.jffs2 -MTD_TARGETS_$(BR2_PACKAGE_MTD_JFFS2DUMP) += jffs2dump -MTD_TARGETS_$(BR2_PACKAGE_MTD_SUMTOOL) += sumtool -MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_CHECK) += ftl_check -MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_FORMAT) += ftl_format -MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTLDUMP) += nftldump -MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTL_FORMAT) += nftl_format -MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDDUMP) += nanddump -MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDTEST) += nandtest -MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDWRITE) += nandwrite -MTD_TARGETS_$(BR2_PACKAGE_MTD_MTD_DEBUG) += mtd_debug -MTD_TARGETS_$(BR2_PACKAGE_MTD_DOCFDISK) += docfdisk -MTD_TARGETS_$(BR2_PACKAGE_MTD_DOC_LOADBIOS) += doc_loadbios +MTD_TARGETS_$(BR2_PACKAGE_MTD_DOCFDISK) += docfdisk +MTD_TARGETS_$(BR2_PACKAGE_MTD_DOC_LOADBIOS) += doc_loadbios +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASHCP) += flashcp +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASE) += flash_erase +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASEALL) += flash_eraseall +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_INFO) += flash_info +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_LOCK) += flash_lock +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_DUMP) += flash_otp_dump +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_INFO) += flash_otp_info +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_UNLOCK) += flash_unlock +MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_CHECK) += ftl_check +MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_FORMAT) += ftl_format +MTD_TARGETS_$(BR2_PACKAGE_MTD_JFFS2DUMP) += jffs2dump +MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSJFFS2) += mkfs.jffs2 +MTD_TARGETS_$(BR2_PACKAGE_MTD_MTD_DEBUG) += mtd_debug +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDDUMP) += nanddump +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDTEST) += nandtest +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDWRITE) += nandwrite +MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTLDUMP) += nftldump +MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTL_FORMAT) += nftl_format +MTD_TARGETS_$(BR2_PACKAGE_MTD_RECV_IMAGE) += recv_image +MTD_TARGETS_$(BR2_PACKAGE_MTD_RFDDUMP) += rfddump +MTD_TARGETS_$(BR2_PACKAGE_MTD_RFDFORMAT) += rfdformat +MTD_TARGETS_$(BR2_PACKAGE_MTD_SERVE_IMAGE) += serve_image +MTD_TARGETS_$(BR2_PACKAGE_MTD_SUMTOOL) += sumtool MTD_TARGETS_UBI_n := MTD_TARGETS_UBI_y := -MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIATTACH) += ubiattach -MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBICRC32) += ubicrc32 -MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIDETACH) += ubidetach -MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIMIRROR) += ubimirror -MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIMKVOL) += ubimkvol -MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBINFO) += ubinfo -MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIRMVOL) += ubirmvol -MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIUPDATEVOL) += ubiupdatevol +MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIATTACH) += ubiattach +MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBICRC32) += ubicrc32 +MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIDETACH) += ubidetach +MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIMIRROR) += ubimirror +MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIMKVOL) += ubimkvol +MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBINFO) += ubinfo +MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIRMVOL) += ubirmvol +MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIUPDATEVOL) += ubiupdatevol MTD_BUILD_TARGETS := $(addprefix $(MTD_DIR)/, $(MTD_TARGETS_y)) $(addprefix $(MTD_DIR)/ubi-utils/, $(MTD_TARGETS_UBI_y)) diff --git a/package/mtd/mtd-utils/mtd.mk b/package/mtd/mtd-utils/mtd.mk index 9b114de68..241ba197e 100644 --- a/package/mtd/mtd-utils/mtd.mk +++ b/package/mtd/mtd-utils/mtd.mk @@ -71,26 +71,31 @@ $(MTD_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE) MTD_TARGETS_n := MTD_TARGETS_y := -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASE) += flash_erase -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASEALL) += flash_eraseall -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_INFO) += flash_info -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_LOCK) += flash_lock -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_UNLOCK) += flash_unlock -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASHCP) += flashcp -MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSJFFS2) += mkfs.jffs2 -MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSJFFS) += mkfs.jffs -MTD_TARGETS_$(BR2_PACKAGE_MTD_JFFS2DUMP) += jffs2dump -#MTD_TARGETS_$(BR2_PACKAGE_MTD_JFFS3DUMP) += jffs3dump -MTD_TARGETS_$(BR2_PACKAGE_MTD_SUMTOOL) += sumtool -MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_CHECK) += ftl_check -MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_FORMAT) += ftl_format -MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTLDUMP) += nftldump -MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTL_FORMAT) += nftl_format -MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDDUMP) += nanddump -MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDWRITE) += nandwrite -MTD_TARGETS_$(BR2_PACKAGE_MTD_MTD_DEBUG) += mtd_debug -MTD_TARGETS_$(BR2_PACKAGE_MTD_DOCFDISK) += docfdisk -MTD_TARGETS_$(BR2_PACKAGE_MTD_DOC_LOADBIOS) += doc_loadbios +MTD_TARGETS_$(BR2_PACKAGE_MTD_DOCFDISK) += docfdisk +MTD_TARGETS_$(BR2_PACKAGE_MTD_DOC_LOADBIOS) += doc_loadbios +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASHCP) += flashcp +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASE) += flash_erase +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASEALL) += flash_eraseall +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_INFO) += flash_info +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_LOCK) += flash_lock +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_DUMP) += flash_otp_dump +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_INFO) += flash_otp_info +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_UNLOCK) += flash_unlock +MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_CHECK) += ftl_check +MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_FORMAT) += ftl_format +MTD_TARGETS_$(BR2_PACKAGE_MTD_JFFS2DUMP) += jffs2dump +MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSJFFS2) += mkfs.jffs2 +MTD_TARGETS_$(BR2_PACKAGE_MTD_MTD_DEBUG) += mtd_debug +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDDUMP) += nanddump +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDTEST) += nandtest +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDWRITE) += nandwrite +MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTLDUMP) += nftldump +MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTL_FORMAT) += nftl_format +MTD_TARGETS_$(BR2_PACKAGE_MTD_RECV_IMAGE) += recv_image +MTD_TARGETS_$(BR2_PACKAGE_MTD_RFDDUMP) += rfddump +MTD_TARGETS_$(BR2_PACKAGE_MTD_RFDFORMAT) += rfdformat +MTD_TARGETS_$(BR2_PACKAGE_MTD_SERVE_IMAGE) += serve_image +MTD_TARGETS_$(BR2_PACKAGE_MTD_SUMTOOL) += sumtool MTD_BUILD_TARGETS := $(addprefix $(MTD_DIR)/, $(MTD_TARGETS_y)) @@ -99,6 +104,7 @@ $(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked $(MAKE) CFLAGS="-I. -I./include -I$(LINUX_HEADERS_DIR)/include -I$(STAGING_DIR)/usr/include $(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ BUILDDIR=$(MTD_DIR) \ + CPPFLAGS="-DNEED_BCOPY -Dbcmp=memcmp" \ CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) LINUXDIR=$(LINUX26_DIR) WITHOUT_XATTR=1 -C $(MTD_DIR) MTD_TARGETS := $(addprefix $(TARGET_DIR)/usr/sbin/, $(MTD_TARGETS_y)) diff --git a/package/qt/qt.mk b/package/qt/qt.mk index 4b6876ff0..78b2eec3a 100644 --- a/package/qt/qt.mk +++ b/package/qt/qt.mk @@ -48,6 +48,11 @@ else QT_CONFIGURE+= -no-qt3support endif +# ensure glib is built first if enabled for Qt's glib support +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +QT_DEP_LIBS+=libglib2 +endif + ### Pixel depths QT_PIXEL_DEPTHS := # empty @@ -347,6 +352,16 @@ endif BR2_PACKAGE_QT_EMB_PLATFORM:=$(call qstrip,$(BR2_PACKAGE_QT_EMB_PLATFORM)) +# x86x86fix +# Workaround Qt Embedded bug when crosscompiling for x86 under x86 with linux +# host. It's unclear if this would happen on other hosts. +ifneq ($(findstring pc-linux,$(BR2_GNU_BUILD_SUFFIX)),) +ifneq ($(findstring x86,$(BR2_PACKAGE_QT_EMB_PLATFORM)),) +QT_CONFIGURE+= -platform linux-g++ +endif +endif +# End of workaround. + # Figure out what libs to install in the target QT_LIBS=#empty ifeq ($(BR2_PACKAGE_QT_GUI_MODULE),y) diff --git a/target/generic/Config.in b/target/generic/Config.in index b70874a4e..54ff1d6ba 100644 --- a/target/generic/Config.in +++ b/target/generic/Config.in @@ -1,66 +1,3 @@ -comment "Generic System Support" - -config BR2_TARGET_GENERIC_ACCESS_POINT - bool "Generic wireless access point" - select BR2_PACKAGE_WIRELESS_TOOLS - select BR2_PACKAGE_DHCP_RELAY - select BR2_PACKAGE_BRIDGE - help - Board support for a generic wireless access point. - - -config BR2_TARGET_GENERIC_FIREWALL - bool "Generic firewall" - select BR2_PACKAGE_IPTABLES - help - Board support for a generic firewalling router. - - -config BR2_TARGET_GENERIC_DEV_SYSTEM - bool "Generic development system" - depends on BR2_USE_WCHAR && BR2_PROGRAM_INVOCATION - select BR2_CCACHE - select BR2_PACKAGE_GDB - select BR2_PACKAGE_GDB_SERVER - select BR2_PACKAGE_BASH - select BR2_PACKAGE_BZIP2 - select BR2_PACKAGE_COREUTILS - select BR2_PACKAGE_DIFFUTILS - select BR2_PACKAGE_ED - select BR2_PACKAGE_FINDUTILS - select BR2_PACKAGE_FLEX - select BR2_PACKAGE_GAWK - select BR2_PACKAGE_GCC_TARGET - select BR2_PACKAGE_CCACHE_TARGET - select BR2_PACKAGE_GREP - select BR2_PACKAGE_MAKE - select BR2_PACKAGE_PATCH - select BR2_PACKAGE_SED - select BR2_PACKAGE_TAR - select BR2_PACKAGE_MICROPERL - select BR2_PACKAGE_AUTOCONF - select BR2_PACKAGE_AUTOMAKE - select BR2_PACKAGE_DROPBEAR - select BR2_PACKAGE_FILE - select BR2_PACKAGE_GZIP - select BR2_PACKAGE_LESS - select BR2_PACKAGE_LIBTOOL - select BR2_PACKAGE_M4 - select BR2_PACKAGE_E2FSPROGS - select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_NETKITBASE - select BR2_PACKAGE_PCIUTILS - select BR2_PACKAGE_PROCPS - select BR2_PACKAGE_RSYNC - select BR2_PACKAGE_STRACE - select BR2_PACKAGE_UTIL-LINUX - select BR2_PACKAGE_ZLIB - help - Board support for a generic development system. - -comment "Generic development system requires a toolchain with WCHAR and PROGRAM_INVOCATION support" - depends on !(BR2_USE_WCHAR && BR2_PROGRAM_INVOCATION) - if !(BR2_TARGET_ATMEL||BR2_TARGET_KWIKBYTE||BR2_TARGET_VALKA) config BR2_TARGET_GENERIC_HOSTNAME diff --git a/toolchain/kernel-headers/Config.in b/toolchain/kernel-headers/Config.in index 5e07e7d7d..c94f25c07 100644 --- a/toolchain/kernel-headers/Config.in +++ b/toolchain/kernel-headers/Config.in @@ -6,7 +6,7 @@ comment "Kernel Header Options" choice prompt "Kernel Headers" - default BR2_KERNEL_HEADERS_2_6_31 + default BR2_KERNEL_HEADERS_2_6_32 help Select the version of kernel header files you wish to use. @@ -66,11 +66,11 @@ config BR2_DEFAULT_KERNEL_VERSION config BR2_DEFAULT_KERNEL_HEADERS string default "2.6.26.8" if BR2_KERNEL_HEADERS_2_6_26 - default "2.6.27.42" if BR2_KERNEL_HEADERS_2_6_27 + default "2.6.27.43" if BR2_KERNEL_HEADERS_2_6_27 default "2.6.28.10" if BR2_KERNEL_HEADERS_2_6_28 default "2.6.29.6" if BR2_KERNEL_HEADERS_2_6_29 default "2.6.30.10" if BR2_KERNEL_HEADERS_2_6_30 - default "2.6.31.9" if BR2_KERNEL_HEADERS_2_6_31 - default "2.6.32.2" if BR2_KERNEL_HEADERS_2_6_32 + default "2.6.31.11" if BR2_KERNEL_HEADERS_2_6_31 + default "2.6.32.3" if BR2_KERNEL_HEADERS_2_6_32 default "2.6" if BR2_KERNEL_HEADERS_SNAP default $BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION diff --git a/toolchain/kernel-headers/linux-2.6.31.9-scsi-use-__uX-types-for-headers-exported-to-user-space.patch b/toolchain/kernel-headers/linux-2.6.31.11-scsi-use-__uX-types-for-headers-exported-to-user-space.patch index ac9875dd7..ac9875dd7 100644 --- a/toolchain/kernel-headers/linux-2.6.31.9-scsi-use-__uX-types-for-headers-exported-to-user-space.patch +++ b/toolchain/kernel-headers/linux-2.6.31.11-scsi-use-__uX-types-for-headers-exported-to-user-space.patch diff --git a/toolchain/kernel-headers/linux-2.6.32.2-scsi-use-__uX-types-for-headers-exported-to-user-space.patch b/toolchain/kernel-headers/linux-2.6.32.3-scsi-use-__uX-types-for-headers-exported-to-user-space.patch index ac9875dd7..ac9875dd7 100644 --- a/toolchain/kernel-headers/linux-2.6.32.2-scsi-use-__uX-types-for-headers-exported-to-user-space.patch +++ b/toolchain/kernel-headers/linux-2.6.32.3-scsi-use-__uX-types-for-headers-exported-to-user-space.patch diff --git a/toolchain/uClibc/Config.in b/toolchain/uClibc/Config.in index 16708a6cb..0d41de159 100644 --- a/toolchain/uClibc/Config.in +++ b/toolchain/uClibc/Config.in @@ -5,7 +5,7 @@ comment "uClibc Options" choice prompt "uClibc C library Version" - default BR2_UCLIBC_VERSION_0_9_30_1 + default BR2_UCLIBC_VERSION_0_9_30_2 help Select the version of uClibc you wish to use. @@ -20,12 +20,16 @@ choice bool "uClibc 0.9.29" config BR2_UCLIBC_VERSION_0_9_30 - depends on BR2_RECENT || BR2_DEPRECATED + depends on BR2_DEPRECATED bool "uClibc 0.9.30" config BR2_UCLIBC_VERSION_0_9_30_1 + depends on BR2_RECENT || BR2_DEPRECATED bool "uClibc 0.9.30.1" + config BR2_UCLIBC_VERSION_0_9_30_2 + bool "uClibc 0.9.30.2" + config BR2_UCLIBC_VERSION_SNAPSHOT bool "daily snapshot" @@ -44,6 +48,7 @@ config BR2_UCLIBC_VERSION_STRING default 0.9.29 if BR2_UCLIBC_VERSION_0_9_29 default 0.9.30 if BR2_UCLIBC_VERSION_0_9_30 default 0.9.30.1 if BR2_UCLIBC_VERSION_0_9_30_1 + default 0.9.30.2 if BR2_UCLIBC_VERSION_0_9_30_2 default $BR2_USE_UCLIBC_SNAPSHOT if BR2_UCLIBC_VERSION_SNAPSHOT config BR2_UCLIBC_CONFIG @@ -52,6 +57,7 @@ config BR2_UCLIBC_CONFIG default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_0_9_29 default "toolchain/uClibc/uClibc-0.9.30.config" if BR2_UCLIBC_VERSION_0_9_30 default "toolchain/uClibc/uClibc-0.9.30.config" if BR2_UCLIBC_VERSION_0_9_30_1 + default "toolchain/uClibc/uClibc-0.9.30.config" if BR2_UCLIBC_VERSION_0_9_30_2 default "toolchain/uClibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT help Some people may wish to use their own modified uClibc configuration |