Skip to contentSkip to conversation

svn commit: trunk/buildroot: package/libpng package/microcom package/ etc...

Buildroot sjhill at uclibc.org 2 participants 2 messages Feb 28, 2008

lore
Share & tools
lore
#0 lore raw

Author: sjhill
Date: 2008-02-27 18:13:42 -0800 (Wed, 27 Feb 2008) New Revision: 21130

Log:
Make sure 'linkage.h' headers are installed. Add hack to bootstrap newer versions of GCC. Filter out 'gnu99' from assembly flags. Use the 'headers' target instead of 'pregen' to prepare for more NPTL integration. Fix broken MTD package configuration....someone believes in the Klingon release process apparently. Fix build issues with netplug and libpng. Fix source path for microcom as original site no longer exists.

Added:
trunk/buildroot/package/libpng/remove-setjmp-error.patch trunk/buildroot/package/netplug/netplug-getsockname-cast.patch trunk/buildroot/toolchain/gcc/4.1.2/801-arm-bootstrap-libgcc.patch trunk/buildroot/toolchain/kernel-headers/linux-2.6.21.5-001-add-linkage-header.patch trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-filter-gnu99-from-assembly-flags.patch

Modified:
trunk/buildroot/package/microcom/microcom.mk
trunk/buildroot/package/mtd/Config.in
trunk/buildroot/toolchain/uClibc/uclibc.mk

Changeset:
Added: trunk/buildroot/package/libpng/remove-setjmp-error.patch
===================================================================

buildroot/package/libpng/remove-setjmp-error.patch +17 -0
@@ -0,0 +1,17 @@
+diff -ur libpng-1.2.16/pngconf.h libpng-1.2.16-patched/pngconf.h
+--- libpng-1.2.16/pngconf.h	2007-01-31 07:22:33.000000000 -0600
++++ libpng-1.2.16-patched/pngconf.h	2008-02-27 17:40:23.707516659 -0600
+@@ -310,13 +310,6 @@
+ #      define PNG_SAVE_BSD_SOURCE
+ #      undef _BSD_SOURCE
+ #    endif
+-#    ifdef _SETJMP_H
+-     /* If you encounter a compiler error here, see the explanation
+-      * near the end of INSTALL.
+-      */
+-         __png.h__ already includes setjmp.h;
+-         __dont__ include it again.;
+-#    endif
+ #  endif /* __linux__ */
+ 
+    /* include setjmp.h for error handling */

Modified: trunk/buildroot/package/microcom/microcom.mk
===================================================================

buildroot/package/microcom/microcom.mk +1 -1
@@ -26,7 +26,7 @@
 # TARGETS
 # http://microcom.port5.com/m102.tar.gz
 MICROCOM_VERSION:=1.02
-MICROCOM_SITE:=http://microcom.port5.com/
+MICROCOM_SITE:=http://buildroot.uclibc.org/downloads/buildroot-sources/
 MICROCOM_SOURCE:=m102.tar.gz
 MICROCOM_DIR:=$(BUILD_DIR)/microcom-$(MICROCOM_VERSION)
 

Modified: trunk/buildroot/package/mtd/Config.in
===================================================================

buildroot/package/mtd/Config.in +2 -2
@@ -46,9 +46,9 @@
 
 config BR2_PACKAGE_MTD_ORIG_STRING
 	string
-	depends on BR2_PACKAGE_MTD_ORIG
+	depends on BR2_PACKAGE_MTD
 	default "mtd-utils-1.1.0.tar.bz2" if BR2_PACKAGE_MTD_UTILS
-	default "mtd_20061007.orig.tar.gz" if BR2_PACKAGE_MTD_20050122
+	default "mtd_20061007.orig.tar.gz" if BR2_PACKAGE_MTD_20061007
 	default "mtd_20050122.orig.tar.gz" if BR2_PACKAGE_MTD_20050122
 	default $(BR2_PACKAGE_MTD_SNAPSHOT_STRING) if BR2_PACKAGE_MTD_SNAPSHOT
 

Added: trunk/buildroot/package/netplug/netplug-getsockname-cast.patch
===================================================================

buildroot/package/netplug/netplug-getsockname-cast.patch +12 -0
@@ -0,0 +1,12 @@
+diff -ur netplug-1.2.9/netlink.c netplug-1.2.9-patched/netlink.c
+--- netplug-1.2.9/netlink.c	2005-01-07 23:57:09.000000000 -0600
++++ netplug-1.2.9-patched/netlink.c	2008-02-27 17:59:48.373864047 -0600
+@@ -286,7 +286,7 @@
+ 
+     int addr_len = sizeof(addr);
+ 
+-    if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) {
++    if (getsockname(fd, (struct sockaddr *) &addr, (socklen_t *) &addr_len) == -1) {
+         do_log(LOG_ERR, "Could not get socket details: %m");
+         exit(1);
+     }

Added: trunk/buildroot/toolchain/gcc/4.1.2/801-arm-bootstrap-libgcc.patch
===================================================================

buildroot/toolchain/gcc/4.1.2/801-arm-bootstrap-libgcc.patch +63 -0

63 lines not on this page · raw message

Added: trunk/buildroot/toolchain/kernel-headers/linux-2.6.21.5-001-add-linkage-header.patch
===================================================================

buildroot/toolchain/kernel-headers/linux-2.6.21.5-001-add-linkage-header.patch +18 -0
@@ -0,0 +1,18 @@
+diff -ur linux-2.6.21.5/include/asm-arm/Kbuild linux-2.6.21.5-patched/include/asm-arm/Kbuild
+--- linux-2.6.21.5/include/asm-arm/Kbuild	2007-06-11 13:37:06.000000000 -0500
++++ linux-2.6.21.5-patched/include/asm-arm/Kbuild	2008-02-27 18:17:46.999128276 -0600
+@@ -1 +1,3 @@
+ include include/asm-generic/Kbuild.asm
++
++header-y += linkage.h
+diff -ur linux-2.6.21.5/include/linux/Kbuild linux-2.6.21.5-patched/include/linux/Kbuild
+--- linux-2.6.21.5/include/linux/Kbuild	2007-06-11 13:37:06.000000000 -0500
++++ linux-2.6.21.5-patched/include/linux/Kbuild	2008-02-27 18:15:05.921149678 -0600
+@@ -100,6 +100,7 @@
+ header-y += jffs2.h
+ header-y += keyctl.h
+ header-y += limits.h
++header-y += linkage.h
+ header-y += lock_dlm_plock.h
+ header-y += magic.h
+ header-y += major.h

Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-filter-gnu99-from-assembly-flags.patch
===================================================================

buildroot/toolchain/uClibc/uClibc-0.9.29-filter-gnu99-from-assembly-flags.patch +12 -0
@@ -0,0 +1,12 @@
+diff -ur uClibc-0.9.29/Makerules uClibc-0.9.29-patched/Makerules
+--- uClibc-0.9.29/Makerules	2006-12-10 18:25:23.000000000 -0600
++++ uClibc-0.9.29-patched/Makerules	2008-01-26 17:04:50.965699518 -0600
+@@ -96,7 +96,7 @@
+ disp_ld        = $($(DISP)_disp_ld)
+ 
+ cmd_compile.c = $(CC) -c $< -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(filter-out $(CFLAGS-OMIT-$(notdir $<)),$(CFLAGS-$(notdir $(^D)))) $(CFLAGS-$(subst $(top_srcdir),,$(dir $<))) $(CFLAGS-$(notdir $<)) $(CFLAGS-$(notdir $@))
+-cmd_compile.S = $(cmd_compile.c) -D__ASSEMBLER__ $(ASFLAGS) $(ARCH_ASFLAGS) $(ASFLAGS-$(suffix $@)) $(ASFLAGS-$(notdir $<)) $(ASFLAGS-$(notdir $@))
++cmd_compile.S = $(filter-out -std=gnu99, $(cmd_compile.c)) -D__ASSEMBLER__ $(ASFLAGS) $(ARCH_ASFLAGS) $(ASFLAGS-$(suffix $@)) $(ASFLAGS-$(notdir $<)) $(ASFLAGS-$(notdir $@))
+ cmd_compile.m = $(cmd_compile.c) -DL_$(patsubst %$(suffix $(notdir $@)),%,$(notdir $@))
+ cmd_compile-m = $(CC) $^ -c -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(@D))) $(CFLAGS-$(notdir $@))
+ cmd_strip     = $(STRIPTOOL) $(STRIP_FLAGS) $^

Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================

buildroot/toolchain/uClibc/uclibc.mk +1 -1
@@ -378,7 +378,7 @@
 		DEVEL_PREFIX=/usr/ \
 		RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
 		HOSTCC="$(HOSTCC)" \
-		pregen install_dev
+		headers install_dev
 	# Install the kernel headers to the first stage gcc include dir
 	# if necessary
 ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"sjhill" == sjhill <[email protected]> writes:

sjhill> Author: sjhill
sjhill> Date: 2008-02-27 18:13:42 -0800 (Wed, 27 Feb 2008) sjhill> New Revision: 21130

sjhill> Log:

sjhill> Make sure 'linkage.h' headers are installed. Add hack to sjhill> bootstrap newer versions of GCC. Filter out 'gnu99' from sjhill> assembly flags. Use the 'headers' target instead of 'pregen' sjhill> to prepare for more NPTL integration. Fix broken MTD package sjhill> configuration....someone believes in the Klingon release sjhill> process apparently. Fix build issues with netplug and sjhill> libpng. Fix source path for microcom as original site no sjhill> longer exists.

Please don't check in unrelated stuff in the same commit.

Signature · 1 line
Bye, Peter Korsgaard