summaryrefslogtreecommitdiff
path: root/target/linux/avr32/image/Makefile
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-04-28 14:10:09 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-04-28 14:10:09 +0000
commit32e1595fb5006c7a41dbb38361dd3a4d658aa720 (patch)
treeabd8c68e1d4161585317532691b894b5cb125159 /target/linux/avr32/image/Makefile
parent5348fb9c74267e42ad948823965c6da0889ce8e3 (diff)
downloadmtk-20170518-32e1595fb5006c7a41dbb38361dd3a4d658aa720.zip
mtk-20170518-32e1595fb5006c7a41dbb38361dd3a4d658aa720.tar.gz
mtk-20170518-32e1595fb5006c7a41dbb38361dd3a4d658aa720.tar.bz2
enable optional building of u-boot for avr32
SVN-Revision: 10961
Diffstat (limited to 'target/linux/avr32/image/Makefile')
-rw-r--r--target/linux/avr32/image/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/avr32/image/Makefile b/target/linux/avr32/image/Makefile
index 3568984..cbaf07d 100644
--- a/target/linux/avr32/image/Makefile
+++ b/target/linux/avr32/image/Makefile
@@ -4,9 +4,18 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
+
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
+define Build/Clean
+ $(MAKE) -C u-boot clean
+endef
+
+define Build/Compile
+ $(MAKE) -C u-boot compile
+endef
+
define Image/Prepare
cp $(LINUX_DIR)/arch/avr32/boot/images/uImage $(KDIR)/uImage
endef