2016-10-28 16:18:23 +00:00
|
|
|
#
|
|
|
|
# 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:=ppfe
|
2024-03-18 09:49:55 +00:00
|
|
|
PKG_VERSION:=6.6.3.1.0.0
|
2023-04-12 09:33:37 +00:00
|
|
|
PKG_RELEASE:=1
|
2016-10-28 16:18:23 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2023-04-12 09:33:37 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/nxp-qoriq/qoriq-engine-pfe-bin
|
2024-03-18 09:49:55 +00:00
|
|
|
PKG_SOURCE_VERSION:=lf-6.6.3-1.0.0
|
|
|
|
PKG_MIRROR_HASH:=836da0d1ace6c5896c434940b5f06ae9ddcb871959e9f5aa3df75d67e39aec41
|
2017-01-19 08:18:57 +00:00
|
|
|
|
2021-05-02 22:35:38 +00:00
|
|
|
PKG_FLAGS:=nonshared
|
|
|
|
|
2016-10-28 16:18:23 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-10-26 07:33:00 +00:00
|
|
|
RSTRIP:=:
|
|
|
|
STRIP:=:
|
2016-10-28 16:18:23 +00:00
|
|
|
|
2017-10-26 07:33:00 +00:00
|
|
|
define Package/layerscape-ppfe
|
|
|
|
SECTION:=firmware
|
|
|
|
CATEGORY:=Firmware
|
|
|
|
TITLE:=NXP Layerscape PPFE firmware
|
2018-07-02 08:33:35 +00:00
|
|
|
DEPENDS:=@TARGET_layerscape
|
2017-10-26 07:33:00 +00:00
|
|
|
CONFIG_FW:=ls1012a/u-boot/pfe_fw_sbl.itb
|
|
|
|
CONFIG_BIN1:=ls1012a/slow_path/ppfe_class_ls1012a.elf
|
|
|
|
CONFIG_BIN2:=ls1012a/slow_path/ppfe_tmu_ls1012a.elf
|
2018-01-18 08:36:49 +00:00
|
|
|
CONFIG_LIC:=NXP-Binary-EULA.txt
|
2016-10-28 16:18:23 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
2017-10-26 07:33:00 +00:00
|
|
|
define Package/layerscape-ppfe/install
|
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/$(CONFIG_FW) \
|
|
|
|
$(STAGING_DIR_IMAGE)/pfe.itb
|
|
|
|
$(INSTALL_DIR) $(1)/lib/firmware/
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_BUILD_DIR)/$(CONFIG_BIN1) \
|
|
|
|
$(PKG_BUILD_DIR)/$(CONFIG_BIN2) \
|
|
|
|
$(PKG_BUILD_DIR)/$(CONFIG_LIC) \
|
|
|
|
$(1)/lib/firmware/
|
2016-10-28 16:18:23 +00:00
|
|
|
endef
|
|
|
|
|
2017-10-26 07:33:00 +00:00
|
|
|
$(eval $(call BuildPackage,layerscape-ppfe))
|