summaryrefslogtreecommitdiff
path: root/packages/ixp4xx/ixp4xx-csr-2.1.1/Makefile.patch
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-06-20 11:16:41 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-20 11:16:41 +0000
commit9d22c00dd63f99a2db8731905f96233cef7949f6 (patch)
tree50e6705ecb997280d7c915abef0c0e2ec8851167 /packages/ixp4xx/ixp4xx-csr-2.1.1/Makefile.patch
parent63685be96ca10cfe0fab542c7a3750efbbc4aa28 (diff)
ixp4xx: version 2.1.1 of the access library added - compiles, untested, requires microcode loading support to be written before use.
Diffstat (limited to 'packages/ixp4xx/ixp4xx-csr-2.1.1/Makefile.patch')
-rw-r--r--packages/ixp4xx/ixp4xx-csr-2.1.1/Makefile.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/ixp4xx/ixp4xx-csr-2.1.1/Makefile.patch b/packages/ixp4xx/ixp4xx-csr-2.1.1/Makefile.patch
new file mode 100644
index 0000000000..f082b713f0
--- /dev/null
+++ b/packages/ixp4xx/ixp4xx-csr-2.1.1/Makefile.patch
@@ -0,0 +1,26 @@
+--- ixp400_xscale_sw/Makefile 1970-01-01 00:00:00.000000000 +0000
++++ ixp400_xscale_sw/Makefile 1970-01-01 00:00:00.000000000 +0000
+@@ -297,9 +297,9 @@ endif
+ else # IX_TARGET_OS == vxworks
+ # linux compiler flags
+ MAKE_DEP_FLAG := -M
+-LINUX_MACH_CFLAGS := -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale
++LINUX_MACH_CFLAGS := -D__LINUX_ARM_ARCH__=5 -mtune=xscale
+
+-CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -Wall -Wno-trigraphs -fno-common -pipe -mapcs-32 -mshort-load-bytes -msoft-float -DMODULE -Isrc/include -D__linux -DCPU=33 -DXSCALE=33 $(LINUX_MACH_CFLAGS)
++CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -Wall -Wno-trigraphs -fno-common -pipe -msoft-float -DMODULE -Isrc/include -D__linux -DCPU=33 -DXSCALE=33 $(LINUX_MACH_CFLAGS)
+ ifndef IX_INCLUDE_MICROCODE
+ CFLAGS += -DIX_NPEDL_READ_MICROCODE_FROM_FILE
+ endif
+@@ -867,9 +867,11 @@ $(NPE_DAT) : $(NPE_CONVERTER)
+
+ ifeq ($(IX_HOST_OS),linux)
+ ifndef IX_INCLUDE_MICROCODE
++ifdef IX_BUILD_MICROCODE
+ Makefile: $(NPE_CONVERTER) $(NPE_DAT)
+ endif
+ endif
++endif
+
+ ################################################################
+ # Rules to check that macros are defined.