mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-23 15:13:11 +00:00
imx23: add support for u-boot image build
SVN-Revision: 37823
This commit is contained in:
parent
928d676274
commit
330c236833
@ -17,12 +17,23 @@ define Image/BuildKernel/olinuxino-bootlet
|
|||||||
)
|
)
|
||||||
endef
|
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
|
define Image/BuildKernel
|
||||||
|
|
||||||
ifeq ($(CONFIG_PACKAGE_imx-bootlets),y)
|
ifeq ($(CONFIG_PACKAGE_imx-bootlets),y)
|
||||||
$(call Image/BuildKernel/olinuxino-bootlet)
|
$(call Image/BuildKernel/olinuxino-bootlet)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PACKAGE_uboot-imx23-mx23_olinuxino),y)
|
||||||
|
$(call Image/BuildKernel/olinuxino-uboot)
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build
|
define Image/Build
|
||||||
|
Loading…
Reference in New Issue
Block a user