2 # Copyright (C) 2009-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/image.mk
10 define Image/BuildKernel
11 cp $(KDIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-zImage
14 define Image/Build/ext2
15 cp $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-ext2.img
19 $(call Image/Build/$(1),$(1))
22 $(eval $(call BuildImage))