include $(INCLUDE_DIR)/package.mk
-define Package/layerscape-mc-ls1088ardb
+define Package/layerscape-mc
SECTION:=firmware
CATEGORY:=Firmware
- TITLE:=NXP LS1088ARDB MC firmware
+ TITLE:=NXP MC firmware
DEPENDS:=@TARGET_layerscape
- CONFIG:=ls1088a/mc_10.14.3_ls1088a.itb
-endef
-
-define Package/layerscape-mc-ls2088ardb
- SECTION:=firmware
- CATEGORY:=Firmware
- TITLE:=NXP LS2088ARDB MC firmware
- DEPENDS:=@TARGET_layerscape
- CONFIG:=ls2088a/mc_10.14.3_ls2088a.itb
endef
define Build/Compile
endef
-define Package/layerscape-mc-ls1088ardb/install
- $(INSTALL_DIR) $(STAGING_DIR_IMAGE)
- $(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/ls1088ardb-mc.itb
-endef
-
-define Package/layerscape-mc-ls2088ardb/install
+define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
- $(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/ls2088ardb-mc.itb
+ $(CP) $(PKG_BUILD_DIR)/ls1088a/mc_10.14.3_ls1088a.itb \
+ $(STAGING_DIR_IMAGE)/ls1088ardb-mc.itb
+ $(CP) $(PKG_BUILD_DIR)/ls2088a/mc_10.14.3_ls2088a.itb \
+ $(STAGING_DIR_IMAGE)/ls2088ardb-mc.itb
endef
-$(eval $(call BuildPackage,layerscape-mc-ls1088ardb))
-$(eval $(call BuildPackage,layerscape-mc-ls2088ardb))
+$(eval $(call BuildPackage,layerscape-mc))
DEVICE_MODEL := LS1088A-RDB
DEVICE_VARIANT := Default
DEVICE_PACKAGES += \
- layerscape-mc-ls1088ardb \
+ layerscape-mc \
layerscape-dpl-ls1088ardb \
tfa-ls1088ardb \
restool
DEVICE_MODEL := LS1088A-RDB
DEVICE_VARIANT := SD Card Boot
DEVICE_PACKAGES += \
- layerscape-mc-ls1088ardb \
+ layerscape-mc \
layerscape-dpl-ls1088ardb \
tfa-ls1088ardb-sdboot \
restool
DEVICE_VENDOR := NXP
DEVICE_MODEL := LS2088ARDB
DEVICE_PACKAGES += \
- layerscape-mc-ls2088ardb \
+ layerscape-mc \
layerscape-dpl-ls2088ardb \
tfa-ls2088ardb \
restool