summaryrefslogtreecommitdiffstats
path: root/target/image/x86
diff options
context:
space:
mode:
Diffstat (limited to 'target/image/x86')
-rw-r--r--target/image/x86/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/image/x86/Makefile b/target/image/x86/Makefile
new file mode 100644
index 000000000..e4b3a9e44
--- /dev/null
+++ b/target/image/x86/Makefile
@@ -0,0 +1,9 @@
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/image.mk
+
+define Image/Build
+ cp $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
+ cp $(KDIR)/vmlinux $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz
+endef
+
+$(eval $(call BuildImage))