2 # Copyright (C) 2016 Jiang Yutang <jiangyutang1978@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
11 PKG_SOURCE_DATE:=2017-10-13
15 PKG_SOURCE_URL:=https://github.com/qoriq-open-source/engine-pfe-bin.git
16 PKG_SOURCE_VERSION:=97cd13d3070d7199e62881bc495b332194b67edd
17 PKG_MIRROR_HASH:=3457bfe7201a8410443f34d4bb5fa67d4ff19e2d0f3957e84e3f20e2ae3fa34a
21 include $(INCLUDE_DIR)/package.mk
26 define Package/layerscape-ppfe
29 DEPENDS:=@TARGET_layerscape
30 TITLE:=NXP Layerscape PPFE firmware
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:=Freescale-Binary-EULA
40 define 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/
46 $(PKG_BUILD_DIR)/$(CONFIG_BIN1) \
47 $(PKG_BUILD_DIR)/$(CONFIG_BIN2) \
48 $(PKG_BUILD_DIR)/$(CONFIG_LIC) \
52 $(eval $(call BuildPackage,layerscape-ppfe))