summaryrefslogtreecommitdiff
path: root/target/linux/etrax/Makefile
diff options
context:
space:
mode:
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 b7970fa..ec81d9f 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))