aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/layerscape
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2020-03-14 14:11:12 +0800
committerPetr Štetiar <ynezz@true.cz>2020-05-07 12:53:06 +0200
commit6c9d8990a41f185d457ae75361572ebab7958ab5 (patch)
tree1bd2d01e1141773eb7f2126242e3a91adfd17fa7 /package/firmware/layerscape
parent12bc4084bd8a03efb7effd1f7f99ecdefe1436e2 (diff)
downloadupstream-6c9d8990a41f185d457ae75361572ebab7958ab5.tar.gz
upstream-6c9d8990a41f185d457ae75361572ebab7958ab5.tar.bz2
upstream-6c9d8990a41f185d457ae75361572ebab7958ab5.zip
layerscape: define only one package for fman-ucode
We do not have to define package for each board, and consider variant's installing. It is easier to maintain fman-ucode with only one package installing all two binaries as intermediate files. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'package/firmware/layerscape')
-rw-r--r--package/firmware/layerscape/fman-ucode/Makefile28
1 files changed, 8 insertions, 20 deletions
diff --git a/package/firmware/layerscape/fman-ucode/Makefile b/package/firmware/layerscape/fman-ucode/Makefile
index 9561fbc0b3..fecd11989a 100644
--- a/package/firmware/layerscape/fman-ucode/Makefile
+++ b/package/firmware/layerscape/fman-ucode/Makefile
@@ -18,34 +18,22 @@ PKG_MIRROR_HASH:=a630f1a86e4a67a0e390312291702560e3f64dd74fe6ccb8f3be4584d00c7f8
include $(INCLUDE_DIR)/package.mk
-define Package/layerscape-fman-ls1043ardb
+define Package/layerscape-fman
SECTION:=firmware
CATEGORY:=Firmware
- TITLE:=NXP LS1043ARDB FMan ucode
+ TITLE:=NXP 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
+define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
- $(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/ls1046ardb-fman.bin
+ $(CP) $(PKG_BUILD_DIR)/fsl_fman_ucode_ls1043_r1.1_106_4_18.bin \
+ $(STAGING_DIR_IMAGE)/ls1043ardb-fman.bin
+ $(CP) $(PKG_BUILD_DIR)/fsl_fman_ucode_ls1046_r1.0_106_4_18.bin \
+ $(STAGING_DIR_IMAGE)/ls1046ardb-fman.bin
endef
-$(eval $(call BuildPackage,layerscape-fman-ls1043ardb))
-$(eval $(call BuildPackage,layerscape-fman-ls1046ardb))
+$(eval $(call BuildPackage,layerscape-fman))