mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
0f3c3a5fb2
OpenWrt lately has harmonized device (definition) names to the pattern vendor_model to improve overall consistency, also with other values like the DTS compatible. This patch applies that scheme to the layerscape target. Since this (intentionally) creates a bigger overlap between DTS names, compatible, and device definition name, it also moves DEVICE_DTS and SUPPORTED_DEVICES definitions to the Device/Default blocks. Apart from that, it also modifies several packages to use consistent naming in order to keep the $(1) file references working. While at it, remove one layer of complexity for the setup in tfa-layerscape package. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
40 lines
961 B
Makefile
40 lines
961 B
Makefile
#
|
|
# Copyright 2017 NXP
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ls-mc
|
|
PKG_VERSION:=LSDK-20.04
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/NXP/qoriq-mc-binary.git
|
|
PKG_SOURCE_VERSION:=f73683596a7b72124d67b62e64f3dc2bb36b9321
|
|
PKG_MIRROR_HASH:=1cba30c2a6814763c3e155c1cc5fa21998bb6ad5814fcb09e99f98bf36f65d9e
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/layerscape-mc
|
|
SECTION:=firmware
|
|
CATEGORY:=Firmware
|
|
TITLE:=NXP MC firmware
|
|
DEPENDS:=@TARGET_layerscape
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
$(CP) $(PKG_BUILD_DIR)/ls1088a/mc_10.20.4_ls1088a.itb \
|
|
$(STAGING_DIR_IMAGE)/fsl_ls1088a-rdb-mc.itb
|
|
$(CP) $(PKG_BUILD_DIR)/ls2088a/mc_10.20.4_ls2088a.itb \
|
|
$(STAGING_DIR_IMAGE)/fsl_ls2088a-rdb-mc.itb
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,layerscape-mc))
|