svn commit: trunk/buildroot/target/u-boot
Author: jacmet
Date: 2008-04-23 07:52:38 -0700 (Wed, 23 Apr 2008) New Revision: 21811
Log:
u-boot: support platform-independent patches
Support platform independent patches (.patch) and use .patch.$ARCH for platform dependent ones like elsewhere.
Modified:
trunk/buildroot/target/u-boot/Makefile.in
Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
buildroot/target/u-boot/Makefile.in +2 -1
@@ -47,7 +47,8 @@ $(U_BOOT_DIR)/.patched: $(U_BOOT_DIR)/.unpacked toolchain/patch-kernel.sh $(U_BOOT_DIR) target/u-boot/ \ - u-boot-$(U_BOOT_VERSION)-$(BR2_ARCH)-\*.patch\* + u-boot-$(U_BOOT_VERSION)-\*.patch \ + u-boot-$(U_BOOT_VERSION)-\*.patch.$(ARCH) ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH)),"") @mkdir -p $(U_BOOT_PATCH_DIR) cp -dpr $(BR2_TARGET_UBOOT_CUSTOM_PATCH) $(U_BOOT_PATCH_DIR)
Hmmm I have never seen patch.$ARCH in buildroot.
It's usually -$ARCH.patch like toolchain/kernel-headers package/qtopia4 and others.
Quoted 39 lines · On Wed, Apr 23, 2008 at 11:52 AM, <[email protected]> wrote:
Author: jacmet
Date: 2008-04-23 07:52:38 -0700 (Wed, 23 Apr 2008) New Revision: 21811Log:
u-boot: support platform-independent patchesSupport platform independent patches (.patch) and use .patch.$ARCH for platform dependent ones like elsewhere.
Modified:
trunk/buildroot/target/u-boot/Makefile.inChangeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in 2008-04-23 14:52:35 UTC (rev 21810)
+++ trunk/buildroot/target/u-boot/Makefile.in 2008-04-23 14:52:38 UTC (rev 21811)
@@ -47,7 +47,8 @@$(U_BOOT_DIR)/.patched: $(U_BOOT_DIR)/.unpacked
toolchain/patch-kernel.sh $(U_BOOT_DIR) target/u-boot/ \ - u-boot-$(U_BOOT_VERSION)-$(BR2_ARCH)-\*.patch\* + u-boot-$(U_BOOT_VERSION)-\*.patch \ + u-boot-$(U_BOOT_VERSION)-\*.patch.$(ARCH) ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH)),"") @mkdir -p $(U_BOOT_PATCH_DIR) cp -dpr $(BR2_TARGET_UBOOT_CUSTOM_PATCH) $(U_BOOT_PATCH_DIR)_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thiago" == Thiago A Corr?a <[email protected]> writes:
Thiago> Hmmm I have never seen patch.$ARCH in buildroot. Thiago> It's usually -$ARCH.patch like toolchain/kernel-headers Thiago> package/qtopia4 and others.
packages/Makefile.autotools.in does it like that (used by jamvm and libmad). It's nice, as it makes it easy to only apply arch specific patches if you're compiling for those archs (E.G. we had issues with avr32 patches screwing up stuff on other archs before).
The qtopia makefile seems buggy in this regard.
Signature · 1 line
Bye, Peter Korsgaard
Quoted 5 lines
Hmmm I have never seen patch.$ARCH in buildroot.
It's usually -$ARCH.patch like toolchain/kernel-headers package/qtopia4 and others.
If you patch with "*.patch", then *all* architecture dependent patches will be applied if you use "-$ARCH.patch"
You want to apply
* architecture independent patches
* architecture dependent patches pertaining to your architecture.
so ".patch.$ARCH" is much cleaner
Best Regards
Ulf Samuelsson
Quoted 7 lines · Ulf Samuelsson
Quoted 5 lines
Hmmm I have never seen patch.$ARCH in buildroot.
It's usually -$ARCH.patch like toolchain/kernel-headers package/qtopia4 and others.
Quoted 8 lines
If you patch with "*.patch", then *all* architecture dependent patches will be applied if you use "-$ARCH.patch"
You want to apply
* architecture independent patches
* architecture dependent patches pertaining to your architecture.so ".patch.$ARCH" is much cleaner
The concept of per-arch patches is broken per se. You're better off to fix or drop the dysfunctional patches.
Quoted 13 lines · Ulf Samuelsson
Quoted 10 lines
Quoted 5 lines
Hmmm I have never seen patch.$ARCH in buildroot.
It's usually -$ARCH.patch like toolchain/kernel-headers package/qtopia4 and others.
If you patch with "*.patch", then *all* architecture dependent patches will be applied if you use "-$ARCH.patch"
Quoted 8 lines
Quoted 5 lines
You want to apply
* architecture independent patches
* architecture dependent patches pertaining to your architecture.so ".patch.$ARCH" is much cleaner
The concept of per-arch patches is broken per se. You're better off to fix or drop the dysfunctional patches.
The per-arch patch is low maintenance, while your idea is high maintenance.
Best Regards
Ulf Samuelsson
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernhard" == Bernhard Fischer <[email protected]> writes:
Hi,
Bernhard> The concept of per-arch patches is broken per se. You're Bernhard> better off to fix or drop the dysfunctional patches.
Sure, having clean patches (or even better, all fixes integrated upstream) would be better, but this atleast keeps the adverse affects down for users of other archs.
Signature · 1 line
Bye, Peter Korsgaard
Quoted 17 lines · Ulf Samuelsson
Quoted 17 lines · Ulf Samuelsson
Quoted 14 lines
Quoted 5 lines
Hmmm I have never seen patch.$ARCH in buildroot.
It's usually -$ARCH.patch like toolchain/kernel-headers package/qtopia4 and others.
If you patch with "*.patch", then *all* architecture dependent patches will be applied if you use "-$ARCH.patch"
You want to apply
* architecture independent patches
* architecture dependent patches pertaining to your architecture.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
so ".patch.$ARCH" is much cleaner
The concept of per-arch patches is broken per se. You're better off to fix or drop the dysfunctional patches.
The per-arch patch is low maintenance, while your idea is high maintenance.
We already had that argument, so let me just repeat that you have to fixup your port anyway, sooner or later. 'nuff said