diff options
-rw-r--r-- | ixp425-eth/files/ethhdr.patch | 0 | ||||
-rw-r--r-- | ixp425-eth/files/makefile.patch | 0 | ||||
-rw-r--r-- | ixp425-eth/ixp425-eth_1.1.oe | 0 | ||||
-rw-r--r-- | ixp4xx/ixp4xx-csr_1.4.oe | 43 |
4 files changed, 43 insertions, 0 deletions
diff --git a/ixp425-eth/files/ethhdr.patch b/ixp425-eth/files/ethhdr.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/ixp425-eth/files/ethhdr.patch diff --git a/ixp425-eth/files/makefile.patch b/ixp425-eth/files/makefile.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/ixp425-eth/files/makefile.patch diff --git a/ixp425-eth/ixp425-eth_1.1.oe b/ixp425-eth/ixp425-eth_1.1.oe new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/ixp425-eth/ixp425-eth_1.1.oe diff --git a/ixp4xx/ixp4xx-csr_1.4.oe b/ixp4xx/ixp4xx-csr_1.4.oe index e69de29bb2..4a9295e516 100644 --- a/ixp4xx/ixp4xx-csr_1.4.oe +++ b/ixp4xx/ixp4xx-csr_1.4.oe @@ -0,0 +1,43 @@ +MAINTAINER = "Chris Larson <kergoth@handhelds.org>" +HOMEPAGE = "http://www.intel.com/design/network/products/npfamily/download_ixp400.htm" +LICENSE = "${PN}" +LICENSE_HOMEPAGE = "http://www.intel.com/design/network/swsup/ixp400AccessLibrary-1_4.htm" +SRC_URI = "http://www.intel.com/design/network/swsup/ixp400AccessLibrary-1_4.zip \ + http://www.wnk.at/ixp400_accesslib_kernel26/data/patch_accesslib_kernel26_20040811.diff;patch=1 \ + file://badpaths.patch;patch=1" +S = "${WORKDIR}/ixp400_xscale_sw" +PR = "r1" + +COMPATIBLE_HOST = "^armeb-linux.*" + +inherit module + +#LINUX_MACH_CFLAGS := -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale +CFLAGS = "-fno-common -D__KERNEL__ -DMODULE -D__linux -DCPU=33 -DXSCALE=33 \ + -I${S}/src/linux -I${S}/src/include \ + ${BUILD_OPTIMIZATION} \ + -I${STAGING_KERNEL_DIR}/include" + +EXTRA_OEMAKE = "'CFLAGS=${CFLAGS}' \ + 'CC=${KERNEL_CC}' \ + 'LD=${KERNEL_LD}' \ + 'IX_TARGET=linuxbe' \ + 'LINUX_SRC=${STAGING_KERNEL_DIR}' \ + 'ARCH=${ARCH}'" +#EXTRA_OEMAKE = "'LINUX_SRC=${STAGING_KERNEL_DIR}' 'IX_TARGET=${IX_TARGET}' \ +# 'ARCH=${TARGET_ARCH}' 'CROSS_COMPILE=${TARGET_PREFIX}'" + +do_compile () { + oe_runmake ixp400.ko +} + +do_stage () { + install -d ${STAGING_INCDIR}/linux/ixp4xx-csr + install -m 0644 src/include/*.h ${STAGING_INCDIR}/linux/ixp4xx-csr/ + cp -r --dereference src/linux/* ${STAGING_INCDIR}/linux/ixp4xx-csr/ +} + +do_install () { + install -d ${D}/lib/modules/${KERNEL_VERSION}/drivers/ixp400 + install -m 0644 lib/linuxbe/ixp400.ko ${D}/lib/modules/${KERNEL_VERSION}/drivers/ixp400/ +} |