2 # Copyright (C) 2006-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
11 $(MAKE
) -C u-boot
clean
15 if
[ $(CONFIG_AT91_UBOOT
) ]; then \
16 $(MAKE
) -C u-boot compile
; \
23 define Image
/BuildKernel
24 mkimage
-A arm
-T kernel
-C none
-a
0x20008000 -e
0x20008000 -n linux-2.6 \
25 -d
$(LINUX_DIR
)/arch
/arm
/boot
/Image
$(BIN_DIR
)/$(IMG_PREFIX
)-uImage
26 if
[ $(CONFIG_FLEXIBITY_ROOT
) ]; then \
27 $(INSTALL_BIN
) $(BIN_DIR
)/$(IMG_PREFIX
)-uImage
$(TARGET_DIR
)/uImage
; \
32 $(call Image
/Build
/$(1),$(1))
33 cp
$(KDIR
)/root.
$(1) $(BIN_DIR
)/$(IMG_PREFIX
)-root.
$(1)
36 $(eval
$(call BuildImage
))
This page took 0.043891 seconds and 5 git commands to generate.