mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
56853409c4
Actually there was no change for fman-ucode in LSDK-18.06 just tagged with LSDK-18.06. This patch is to rework the fman-ucode makefile to make it more readable, and to use lsdk-1806 as the PKG_VERSION. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
#
|
|
# Copyright (C) 2016 Jiang Yutang <jiangyutang1978@gmail.com>
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fman-ucode
|
|
PKG_VERSION:=lsdk-1806
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/NXP/qoriq-fm-ucode.git
|
|
PKG_SOURCE_VERSION:=c275e91392e2adab1ed22f3867b8269ca3c54014
|
|
PKG_MIRROR_HASH:=4e8914340c4a08941898900500f3239762af933ff359bebcf988a10ac30b2bec
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/layerscape-fman-ls1043ardb
|
|
SECTION:=firmware
|
|
CATEGORY:=Firmware
|
|
TITLE:=NXP LS1043ARDB FMan ucode
|
|
DEPENDS:=@TARGET_layerscape
|
|
CONFIG:=fsl_fman_ucode_ls1043_r1.1_106_4_18.bin
|
|
endef
|
|
|
|
define Package/layerscape-fman-ls1046ardb
|
|
SECTION:=firmware
|
|
CATEGORY:=Firmware
|
|
TITLE:=NXP LS1046ARDB FMan ucode
|
|
DEPENDS:=@TARGET_layerscape
|
|
CONFIG:=fsl_fman_ucode_ls1046_r1.0_106_4_18.bin
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/layerscape-fman-ls1043ardb/install
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
$(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/ls1043ardb-fman.bin
|
|
endef
|
|
|
|
define Package/layerscape-fman-ls1046ardb/install
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
$(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/ls1046ardb-fman.bin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,layerscape-fman-ls1043ardb))
|
|
$(eval $(call BuildPackage,layerscape-fman-ls1046ardb))
|