bb9904572c0ef499c544fb15fcaf46832ae336b2
[openwrt.git] / target / linux / mpc85xx / image / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/image.mk
9
10 define Image/Prepare
11 cp $(LINUX_DIR)/arch/powerpc/boot/zImage $(KDIR)/zImage
12 endef
13
14 define Image/BuildKernel
15 cp $(KDIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-zImage
16 endef
17
18 define Image/Build/ext2
19 cp $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-ext2.img
20 endef
21
22 define Image/Build
23 $(call Image/Build/$(1),$(1))
24 endef
25
26 $(eval $(call BuildImage))
This page took 0.054097 seconds and 3 git commands to generate.