[at91] Copy rootfs(s) inside BIN_DIR
[openwrt.git] / target / linux / at91 / image / Makefile
1 #
2 # Copyright (C) 2006-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 Build/Clean
11 $(MAKE) -C u-boot clean
12 endef
13
14 define Build/Compile
15 if [ $(CONFIG_AT91_UBOOT) ]; then \
16 $(MAKE) -C u-boot compile; \
17 fi
18 endef
19
20 define Image/Prepare
21 endef
22
23 define Image/BuildKernel
24 cp $(LINUX_DIR)/arch/arm/boot/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage
25 endef
26
27 define Image/Build
28 $(call Image/Build/$(1),$(1))
29 cp $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-root.$(1)
30 endef
31
32 $(eval $(call BuildImage))
This page took 0.051763 seconds and 5 git commands to generate.