diff options
author | Zoltan Herpai <wigyori@uid0.hu> | 2013-08-22 19:29:07 +0000 |
---|---|---|
committer | Zoltan Herpai <wigyori@uid0.hu> | 2013-08-22 19:29:07 +0000 |
commit | 330c2368331e42df2fe8b162396f65357305a933 (patch) | |
tree | 1110632b2ffdad88a912c1fbf1ccd35cf29993ef /target/linux/imx23/image | |
parent | 928d676274889d7f6a0abec4febbe9c84088dfbf (diff) | |
download | mtk-20170518-330c2368331e42df2fe8b162396f65357305a933.zip mtk-20170518-330c2368331e42df2fe8b162396f65357305a933.tar.gz mtk-20170518-330c2368331e42df2fe8b162396f65357305a933.tar.bz2 |
imx23: add support for u-boot image build
SVN-Revision: 37823
Diffstat (limited to 'target/linux/imx23/image')
-rw-r--r-- | target/linux/imx23/image/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/imx23/image/Makefile b/target/linux/imx23/image/Makefile index 3aeb21b..b910237 100644 --- a/target/linux/imx23/image/Makefile +++ b/target/linux/imx23/image/Makefile @@ -17,12 +17,23 @@ define Image/BuildKernel/olinuxino-bootlet ) endef +define Image/BuildKernel/olinuxino-uboot + mkimage -A arm -O linux -T kernel -C none \ + -a 0x42000000 -e 0x42000000 \ + -n 'ARM OpenWrt Linux-$(LINUX_VERSION)' \ + -d $(KDIR)/vmlinux $(KDIR)/uImage + cp $(KDIR)/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage +endef + define Image/BuildKernel ifeq ($(CONFIG_PACKAGE_imx-bootlets),y) $(call Image/BuildKernel/olinuxino-bootlet) endif + ifeq ($(CONFIG_PACKAGE_uboot-imx23-mx23_olinuxino),y) + $(call Image/BuildKernel/olinuxino-uboot) + endif endef define Image/Build |