summaryrefslogtreecommitdiff
path: root/target/linux/etrax/Makefile
diff options
context:
space:
mode:
authorclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-03 10:05:18 +0000
committerclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-03 10:05:18 +0000
commitcb1cec2363c6d3f80a58e53bceca398d348128f5 (patch)
tree1456d81eecf0f6b295bb204728e6661486d560f3 /target/linux/etrax/Makefile
parentf2446147e56e8a91561cbcecc6aa2ba7e3224e78 (diff)
[etrax] Port the usb host driver and install some missing headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16660 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/etrax/Makefile')
-rw-r--r--target/linux/etrax/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/etrax/Makefile b/target/linux/etrax/Makefile
index b7970fad27..ec81d9f754 100644
--- a/target/linux/etrax/Makefile
+++ b/target/linux/etrax/Makefile
@@ -21,4 +21,12 @@ define Target/Description
Build firmware images for the FOXBOARD made by acmesystems.it
endef
+define Kernel/Prepare
+ $(call Kernel/Prepare/Default)
+ mkdir -p $(LINUX_DIR)/include/asm-cris
+ $(CP) $(LINUX_DIR)/arch/cris/include/asm/*.h $(LINUX_DIR)/include/asm-cris
+ mkdir -p $(LINUX_DIR)/include/asm-cris/arch
+ $(CP) $(LINUX_DIR)/arch/cris/include/arch-v10/arch/*.h $(LINUX_DIR)/include/asm-cris/arch
+endef
+
$(eval $(call BuildTarget))