2 # Copyright (C) 2016 Jiang Yutang <jiangyutang1978@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=uboot-layerscape-32bit
15 PKG_MIRROR_HASH
:=a29edbeddde4b3007ac349c2a5ee434719049ac4753e459dbb1bab21e1c585da
16 PKG_SOURCE_URL
:=https
://github.com
/fsl-jyt
/uboot-ls-32b.git
17 PKG_SOURCE_VERSION
:=6476195551ea83193afd06d0c441483c04729c8d
19 PKG_LICENSE
:=GPL-2.0 GPL-2.0
+
20 PKG_LICENSE_FILES
:=Licenses
/README
22 PKG_MAINTAINER
:=Jiang Yutang
<jiangyutang1978@gmail.com
>
24 include $(INCLUDE_DIR
)/package.mk
25 include $(INCLUDE_DIR
)/kernel.mk
27 define Package
/uboot-layerscape-32b
29 CATEGORY
:=Boot Loaders
30 DEPENDS
:=@TARGET_layerscape_32b
31 TITLE
:=32-bit U-Boot for Layerscape boards
36 define Build
/Configure
44 define Build
/InstallDev
45 $(INSTALL_DIR
) $(STAGING_DIR_IMAGE
)
46 $(CP
) $(PKG_BUILD_DIR
)/ls1043ardb-uboot.bin
$(STAGING_DIR_IMAGE
)/ls1043ardb-32b-uboot.bin
47 $(CP
) $(PKG_BUILD_DIR
)/ls1046ardb-uboot.bin
$(STAGING_DIR_IMAGE
)/ls1046ardb-32b-uboot.bin
48 $(CP
) $(PKG_BUILD_DIR
)/ls1012ardb-uboot.bin.swap
$(STAGING_DIR_IMAGE
)/ls1012ardb-32b-uboot.bin
51 $(eval
$(call BuildPackage
,uboot-layerscape-32b
))