blob: 2b0c5f3207d9c8e0028fa15408940b41a78905cb [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2016 Jiang Yutang <jiangyutang1978@gmail.com>
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=ppfe
11PKG_VERSION:=6.6.3.1.0.0
12PKG_RELEASE:=1
13
14PKG_SOURCE_PROTO:=git
15PKG_SOURCE_URL:=https://github.com/nxp-qoriq/qoriq-engine-pfe-bin
16PKG_SOURCE_VERSION:=lf-6.6.3-1.0.0
17PKG_MIRROR_HASH:=836da0d1ace6c5896c434940b5f06ae9ddcb871959e9f5aa3df75d67e39aec41
18
19PKG_FLAGS:=nonshared
20
21include $(INCLUDE_DIR)/package.mk
22
23RSTRIP:=:
24STRIP:=:
25
26define Package/layerscape-ppfe
27 SECTION:=firmware
28 CATEGORY:=Firmware
29 TITLE:=NXP Layerscape PPFE firmware
30 DEPENDS:=@TARGET_layerscape
31 CONFIG_FW:=ls1012a/u-boot/pfe_fw_sbl.itb
32 CONFIG_BIN1:=ls1012a/slow_path/ppfe_class_ls1012a.elf
33 CONFIG_BIN2:=ls1012a/slow_path/ppfe_tmu_ls1012a.elf
34 CONFIG_LIC:=NXP-Binary-EULA.txt
35endef
36
37define Build/Compile
38endef
39
40define Package/layerscape-ppfe/install
41 $(INSTALL_DIR) $(STAGING_DIR_IMAGE)
42 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(CONFIG_FW) \
43 $(STAGING_DIR_IMAGE)/pfe.itb
44 $(INSTALL_DIR) $(1)/lib/firmware/
45 $(INSTALL_DATA) \
46 $(PKG_BUILD_DIR)/$(CONFIG_BIN1) \
47 $(PKG_BUILD_DIR)/$(CONFIG_BIN2) \
48 $(PKG_BUILD_DIR)/$(CONFIG_LIC) \
49 $(1)/lib/firmware/
50endef
51
52$(eval $(call BuildPackage,layerscape-ppfe))