2 # Copyright (C) 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 DTS_TARGETS
= mpc8548cds
13 cp
$(LINUX_DIR
)/arch
/powerpc
/boot
/zImage
$(KDIR
)/zImage
16 define Image
/BuildKernel
17 cp
$(KDIR
)/zImage
$(BIN_DIR
)/$(IMG_PREFIX
)-zImage
18 $(foreach dts
,$(DTS_TARGETS
),$(LINUX_DIR
)/scripts
/dtc
/dtc
-I dts
-O dtb
$(LINUX_DIR
)/arch
/powerpc
/boot
/dts
/$(dts
).dts
> $(BIN_DIR
)/$(IMG_PREFIX
)-$(dts
).fdt
)
21 define Image
/Build
/ext2
22 cp
$(KDIR
)/root.
$(1) $(BIN_DIR
)/$(IMG_PREFIX
)-ext2.img
26 $(call Image
/Build
/$(1),$(1))
29 $(eval
$(call BuildImage
))
This page took 0.040002 seconds and 5 git commands to generate.