2 # Copyright (C) 2006 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
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
13 PKG_SOURCE_URL
:=http
://trabant.uid0.hu
/openwrt
/
14 PKG_MD5SUM
:=82e375193b66ca643023c1656d536282
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/imx-bootlets
23 CATEGORY
:=Boot Loaders
24 TITLE
:=i.MX23
/i.MX28 bootlets
28 define Package
/imx-bootlets
/description
29 i.MX23
/i.MX28 bootlets
(for oLinuxino
)
33 $(MAKE
) -C
$(PKG_BUILD_DIR
) CROSS_COMPILE
="$(TARGET_CROSS)"
36 define Package
/imx-bootlets
/install
37 @echo Copying boot_prep and power_prep into staging
- $(STAGING_DIR
)
38 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/boot_prep
/boot_prep
$(STAGING_DIR
)/boot_prep
39 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/linux_prep
/output-target
/linux_prep
$(STAGING_DIR
)/linux_prep
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/power_prep
/power_prep
$(STAGING_DIR
)/power_prep
41 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/linux_prebuilt.db
$(STAGING_DIR
)/linux_prebuilt.db
44 $(eval
$(call BuildPackage
,imx-bootlets
))