summaryrefslogtreecommitdiff
path: root/target/linux/image/x86/Makefile
blob: e4b3a9e4460f5450b8654be44b8baafc880a2989 (plain)
1
2
3
4
5
6
7
8
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))