svn commit: trunk/buildroot/target/linux
Author: ulf
Date: 2008-03-30 22:42:03 -0700 (Sun, 30 Mar 2008) New Revision: 21591
Log:
Patch in EXTRA_VERSION
Modified:
trunk/buildroot/target/linux/Config.in.advanced trunk/buildroot/target/linux/Makefile.in.advanced
Changeset:
Modified: trunk/buildroot/target/linux/Config.in.advanced
===================================================================
buildroot/target/linux/Config.in.advanced +8 -0
@@ -346,6 +346,14 @@ default "$(BR2_LINUX26_MM_VERSION).bz2" if BR2_KERNEL_ADD_MM_PATCH default $(BR2_CUSTOM_LINUX26_PATCH) if BR2_LINUX26_CUSTOM +config BR2_EXTRA_VERSION + string + default ".$(BR2_KERNEL_PATCH_LEVEL)" if BR2_KERNEL_ADD_MINORPATCH || BR2_KERNEL_ADD_LATEST_MINORPATCH + default "$(BR2_KERNEL_RC_LEVEL)" if BR2_KERNEL_ADD_LATEST_RC_PATCH + default "$(BR2_KERNEL_RC_LEVEL)" if BR2_KERNEL_ADD_RC_PATCH + default "BR2_KERNEL_GIT_LEVEL" if BR2_KERNEL_ADD_LATEST_SNAPSHOT + default "$(BR2_KERNEL_MM_LEVEL)" if BR2_KERNEL_ADD_LATEST_MM_PATCH + default "$(BR2_KERNEL_MM_LEVEL)" if BR2_KERNEL_ADD_MM_PATCH endmenu # -----------------------------------------------
Modified: trunk/buildroot/target/linux/Makefile.in.advanced
===================================================================
buildroot/target/linux/Makefile.in.advanced +5 -1
@@ -103,7 +103,7 @@ endif endif -KERNEL_CONFIG_METHOD:=($(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD))),) +KERNEL_CONFIG_METHOD:=$(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD))) #")) ifeq ($(KERNEL_CONFIG_METHOD),) KERNEL_CONFIG_METHOD:=xconfig
@@ -335,7 +335,11 @@ $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) $(KERNEL_CONFIG_METHOD) ; \ fi endif +ifneq ($(strip $(subst ",,$(BR2_EXTRA_VERSION))),) + $(SED) 's,^EXTRA_VERSION=.*,EXTRA_VERSION=="$(BR2_EXTRA_VERSION)",g' +endif + # ----------------------------------------------------------------------------- $(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.config $(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config
ulf at uclibc.org a ?crit :
Quoted 12 lines
buildroot/target/linux/Makefile.in.advanced +1
-1@@ -103,7 +103,7 @@ endif endif -KERNEL_CONFIG_METHOD:=($(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD))),) +KERNEL_CONFIG_METHOD:=$(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD))) #")) ifeq ($(KERNEL_CONFIG_METHOD),) KERNEL_CONFIG_METHOD:=xconfig
buildroot/target/linux/Makefile.in.advanced line 340
Quoted 6 lines
buildroot/target/linux/Makefile.in.advanced +3
-0@@ -335,7 +335,11 @@ $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) $(KERNEL_CONFIG_METHOD) ; \ fi endif +ifneq ($(strip $(subst ",,$(BR2_EXTRA_VERSION))),) + $(SED) 's,^EXTRA_VERSION=.*,EXTRA_VERSION=="$(BR2_EXTRA_VERSION)",g' +endif
This patch break the default compilation for AT91SAM9261 (make at91sam9261ek_defconfig && make) with the following error:
[...]
if [ ! -f "/home/jcdr/try/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config"
] ; then \
/usr/bin/make -j2 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm CFLAGS_KERNEL="-Os -I/home/jcdr/try/buildroot/build_arm/staging_dir/usr/include -I/home/jcdr/try/buildroot/build_arm/staging_dir/include --sysroot=/home/jcdr/try/buildroot/build_arm/staging_dir/ -is
ysroot /home/jcdr/try/buildroot/build_arm/staging_dir" INSTALL_MOD_PATH=/home/jcdr/try/buildroot/project_build_arm/at91sam9261ek/root CROSS_COMPILE=/home/jcdr/try/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc- LDFLAGS="-L/home/jcdr/try/buildroot/build_arm/staging_di
r/lib -L/home/jcdr/try/buildroot/build_arm/staging_dir/usr/lib --sysroot=/home/jcdr/try/buildroot/build_arm/staging_dir/" LZMA="/home/jcdr/try/buildroot/toolchain_build_arm/bin/lzma" -C /home/jcdr/try/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3 xconfig ; \
fi/home/jcdr/try/buildroot/toolchain_build_arm/bin/sed -i -e 's,^EXTRA_VERSION=.*,EXTRA_VERSION=="".""3"""",g' /home/jcdr/try/buildroot/toolchain_build_arm/bin/sed: no input files
make: *** [/home/jcdr/try/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config] Erreur 4
ulf at uclibc.org a ?crit :
Quoted 19 lines
buildroot/target/linux/Makefile.in.advanced 2008-03-31 05:42:03 UTC (rev 21591) renamed from buildroot/target/linux/Makefile.in.advanced 2008-03-30 22:23:39 UTC (rev 21590) +4
-1@@ -103,7 +103,7 @@ endif endif -KERNEL_CONFIG_METHOD:=($(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD))),) +KERNEL_CONFIG_METHOD:=$(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD))) #")) ifeq ($(KERNEL_CONFIG_METHOD),) KERNEL_CONFIG_METHOD:=xconfig@@ -335,7 +335,11 @@ $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) $(KERNEL_CONFIG_METHOD) ; \ fi endif +ifneq ($(strip $(subst ",,$(BR2_EXTRA_VERSION))),) + $(SED) 's,^EXTRA_VERSION=.*,EXTRA_VERSION=="$(BR2_EXTRA_VERSION)",g' +endif
Quoted 2 lines
This patch break the default compilation for AT91SAM9261 (make
at91sam9261ek_defconfig&& make) with the following error:
Choose another kernel version like 2.6.22.1.
I have a fix ready, but I am having problems
with svn access from where I am at the moment.
Best Regards
Ulf Samuelsson
ulf at uclibc.org a ?crit :
Quoted 19 lines
buildroot/target/linux/Makefile.in.advanced 2008-03-31 05:42:03 UTC (rev 21591) renamed from buildroot/target/linux/Makefile.in.advanced 2008-03-30 22:23:39 UTC (rev 21590) +4
-1@@ -103,7 +103,7 @@ endif endif -KERNEL_CONFIG_METHOD:=($(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD))),) +KERNEL_CONFIG_METHOD:=$(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD))) #")) ifeq ($(KERNEL_CONFIG_METHOD),) KERNEL_CONFIG_METHOD:=xconfig@@ -335,7 +335,11 @@ $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) $(KERNEL_CONFIG_METHOD) ; \ fi endif +ifneq ($(strip $(subst ",,$(BR2_EXTRA_VERSION))),) + $(SED) 's,^EXTRA_VERSION=.*,EXTRA_VERSION=="$(BR2_EXTRA_VERSION)",g' +endif
Quoted 2 lines
This patch break the default compilation for AT91SAM9261 (make
at91sam9261ek_defconfig&& make) with the following error:
Choose another kernel version like 2.6.22.1.
I have a fix ready, but I am having problems
with svn access from where I am at the moment.
Best Regards
Ulf Samuelsson
Ulf Samuelsson a ?crit :
Quoted 21 lines
ulf at uclibc.org a ?crit :
Quoted 18 lines
buildroot/target/linux/Makefile.in.advanced 2008-03-31 05:42:03 UTC (rev 21591) renamed from buildroot/target/linux/Makefile.in.advanced 2008-03-30 22:23:39 UTC (rev 21590) +4
-1@@ -103,7 +103,7 @@ endif endif -KERNEL_CONFIG_METHOD:=($(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD))),) +KERNEL_CONFIG_METHOD:=$(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD))) #")) ifeq ($(KERNEL_CONFIG_METHOD),) KERNEL_CONFIG_METHOD:=xconfig@@ -335,7 +335,11 @@ $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) $(KERNEL_CONFIG_METHOD) ; \ fi endif +ifneq ($(strip $(subst ",,$(BR2_EXTRA_VERSION))),) + $(SED) 's,^EXTRA_VERSION=.*,EXTRA_VERSION=="$(BR2_EXTRA_VERSION)",g' +endif
Quoted 7 lines
Quoted 2 lines
This patch break the default compilation for AT91SAM9261 (make
at91sam9261ek_defconfig&& make) with the following error:Choose another kernel version like 2.6.22.1.
I have a fix ready, but I am having problems
with svn access from where I am at the moment.
Thanks Ulf for your answer. It work well with the 2.6.22.1.
I still have the /tftpboot issue. Il will make a new update to my proposed patches.
Regards,
--
Jean-Christian de Rivaz
Quoted 5 lines
Quoted 4 lines
Choose another kernel version like 2.6.22.1.
I have a fix ready, but I am having problems
with svn access from where I am at the moment.
Quoted 10 lines
Thanks Ulf for your answer. It work well with the 2.6.22.1.
I still have the /tftpboot issue. Il will make a new update to my proposed patches.
Regards,
--
Jean-Christian de Rivaz
I have a fix for that as well, which will be committed as soon as reach a network which does not filter svn commits :-(
Best Regards
Ulf Samuelsson