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 cp $(LINUX_DIR)/arch/arm/boot/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage
28 $(call Image/Build/$(1),$(1))
31 $(eval $(call BuildImage))