[Buildroot] svn commit: trunk/buildroot/target/linux

Julien Boibessot julien.boibessot at free.fr
Tue Nov 11 14:18:35 UTC 2008


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 @@

-$(LINUX26_DIR)/.unpacked: $(DL_DIR)/$(LINUX26_SOURCE)
+$(LINUX26_DIR)/.unpacked: $(DL_DIR)/$(LINUX26_SOURCE)
        rm -rf $(LINUX26_DIR)
        @echo "*** Unpacking kernel source"
        $(LINUX26_BZCAT) $(DL_DIR)/$(LINUX26_SOURCE) | tar -C
@@ -451,7 +451,7 @@

 linux26-modules: cross-depmod26

-linux26-source: $(DL_DIR)/$(LINUX26_SOURCE)
+linux26-source: $(DL_DIR)/$(LINUX26_SOURCE)

 linux26-unpacked: $(LINUX26_DIR)/.patched

But I'm not sure I can do more :-(


More information about the buildroot mailing list