From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Boibessot Date: Tue, 11 Nov 2008 15:18:35 +0100 Subject: [Buildroot] svn commit: trunk/buildroot/target/linux In-Reply-To: <20081110110131.GA16174@mx.loc> References: <20081110104547.16BEB3C7BC@busybox.net> <20081110110131.GA16174@mx.loc> Message-ID: <4919943B.6080309@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi, Bernhard Reutner-Fischer a ?crit : > On Mon, Nov 10, 2008 at 02:45:47AM -0800, vanokuten at uclibc.org wrote: >> Author: vanokuten >> Date: 2008-11-10 02:45:46 -0800 (Mon, 10 Nov 2008) >> New Revision: 23987 >> >> Log: >> Download Kernel.org minor patches at the same time as full sources. > > The comment is correct but the impl is wrong since you do not > _download_ all required stuff > at the proper time. > So: Iff there are patches, those patches are prerequesites of the > _SOURCE which will > automagically make 'make source' do the right thing. If patches are set as prerequesites of LINUX26_SOURCE then, each time a new set of patches are loaded, full sources will be reloaded again. (User can "dynamically" choose the patch revision he wants to use). I can update the patch to have something like that: Index: target/linux/Makefile.in.advanced =================================================================== --- target/linux/Makefile.in.advanced (r?vision 23996) +++ target/linux/Makefile.in.advanced (copie de travail) @@ -205,7 +205,7 @@ $(WGET) -P $(DL_DIR) $(LINUX26_PATCH_SITE)/$(LINUX26_PATCH_SOURCE) endif -$(LINUX26_DIR)/.unpacked: $(DL_DIR)/$(LINUX26_SOURCE) +$(LINUX26_DIR)/.unpacked: $(DL_DIR)/$(LINUX26_SOURCE) $(DL_DIR)/$(LINUX26_PATCH_SOURCE) rm -rf $(LINUX26_DIR) @echo "*** Unpacking kernel source" $(LINUX26_BZCAT) $(DL_DIR)/$(LINUX26_SOURCE) | tar -C $(PROJECT_BUILD_DIR) $(TAR_OPTIONS) - @@ -451,7 +451,7 @@ linux26-modules: cross-depmod26 $(PROJECT_BUILD_DIR)/autotools-stamps/linux_modules_target_installed -linux26-source: $(DL_DIR)/$(LINUX26_SOURCE) +linux26-source: $(DL_DIR)/$(LINUX26_SOURCE) $(DL_DIR)/$(LINUX26_PATCH_SOURCE) linux26-unpacked: $(LINUX26_DIR)/.patched But I'm not sure I can do more :-( Regards, Julien