diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-12 07:28:50 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-12 07:28:50 +0000 |
commit | c6b5799c36233084fff65e74739cc6cbc44b7367 (patch) | |
tree | 547c7d3591a8efa73fbce2b4bdb48f288f940b66 /package/linux-fusion | |
parent | 0fac1d7d4b509afa5c0b10646c0f8194054e57a8 (diff) | |
download | buildroot-c6b5799c36233084fff65e74739cc6cbc44b7367.tar.gz buildroot-c6b5799c36233084fff65e74739cc6cbc44b7367.zip |
Do not hardwire linux-fusion for AVR32, now also build for ARM
Diffstat (limited to 'package/linux-fusion')
-rw-r--r-- | package/linux-fusion/linux-fusion-8.0.2-cross-compile.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/linux-fusion/linux-fusion-8.0.2-cross-compile.patch b/package/linux-fusion/linux-fusion-8.0.2-cross-compile.patch index 110e663333..443ddf3221 100644 --- a/package/linux-fusion/linux-fusion-8.0.2-cross-compile.patch +++ b/package/linux-fusion/linux-fusion-8.0.2-cross-compile.patch @@ -36,7 +36,7 @@ diff -urN linux-fusion-8.0.2-0rig//Makefile linux-fusion-8.0.2/Makefile export CONFIG_FUSION_DEVICE=m - -+ARCH=avr32 ++ARCH=$(ARCH) ifeq ($(DEBUG),yes) CPPFLAGS += -DFUSION_DEBUG_SKIRMISH_DEADLOCK endif @@ -45,7 +45,7 @@ diff -urN linux-fusion-8.0.2-0rig//Makefile linux-fusion-8.0.2/Makefile ifeq ($(call check-version,2,6,24),1) $(MAKE) -C $(KERNEL_BUILD) \ - KCPPFLAGS="$(CPPFLAGS) -I`pwd`/linux/include" \ -+ ARCH=avr32 \ ++ ARCH=$(ARCH) \ + CC=$(CROSS_COMPILE)gcc \ + AS=$(CROSS_COMPILE)as \ + KCPPFLAGS="$(CPPFLAGS) \ @@ -56,7 +56,7 @@ diff -urN linux-fusion-8.0.2-0rig//Makefile linux-fusion-8.0.2/Makefile else $(MAKE) -C $(KERNEL_BUILD) \ - CPPFLAGS="$(CPPFLAGS) -D__KERNEL__ -I`pwd`/linux/include -I$(KERNEL_BUILD)/include -I$(KERNEL_SOURCE)/include $(AUTOCONF_H)" \ -+ ARCH=avr32 \ ++ ARCH=$(ARCH) \ + CC=$(CROSS_COMPILE)gcc \ + AS=$(CROSS_COMPILE)as \ + CPPFLAGS="$(CPPFLAGS) \ |