2017-10-16 02:23:45 +00:00
|
|
|
#
|
|
|
|
# Copyright 2017 NXP
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2017-12-01 21:32:26 +00:00
|
|
|
PKG_NAME:=ls-mc
|
2020-03-14 06:28:05 +00:00
|
|
|
PKG_VERSION:=LSDK-20.04
|
2017-10-16 02:23:45 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2018-01-18 06:55:19 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/NXP/qoriq-mc-binary.git
|
2020-03-14 06:28:05 +00:00
|
|
|
PKG_SOURCE_VERSION:=f73683596a7b72124d67b62e64f3dc2bb36b9321
|
|
|
|
PKG_MIRROR_HASH:=1cba30c2a6814763c3e155c1cc5fa21998bb6ad5814fcb09e99f98bf36f65d9e
|
2017-10-16 02:23:45 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2020-03-14 06:25:33 +00:00
|
|
|
define Package/layerscape-mc
|
2017-10-16 02:23:45 +00:00
|
|
|
SECTION:=firmware
|
|
|
|
CATEGORY:=Firmware
|
2020-03-14 06:25:33 +00:00
|
|
|
TITLE:=NXP MC firmware
|
2018-07-02 06:58:30 +00:00
|
|
|
DEPENDS:=@TARGET_layerscape
|
2017-10-16 02:23:45 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
2020-03-14 06:25:33 +00:00
|
|
|
define Build/InstallDev
|
2017-10-16 02:23:45 +00:00
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
2020-03-14 06:28:05 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/ls1088a/mc_10.20.4_ls1088a.itb \
|
2020-03-14 06:25:33 +00:00
|
|
|
$(STAGING_DIR_IMAGE)/ls1088ardb-mc.itb
|
2020-03-14 06:28:05 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/ls2088a/mc_10.20.4_ls2088a.itb \
|
2020-03-14 06:25:33 +00:00
|
|
|
$(STAGING_DIR_IMAGE)/ls2088ardb-mc.itb
|
2017-10-16 02:23:45 +00:00
|
|
|
endef
|
|
|
|
|
2020-03-14 06:25:33 +00:00
|
|
|
$(eval $(call BuildPackage,layerscape-mc))
|