2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-19 14:37:33 +01:00
|
|
|
#
|
2013-05-26 14:08:26 +02:00
|
|
|
# firmware-imx
|
2012-12-19 14:37:33 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-19 14:37:33 +01:00
|
|
|
|
2016-03-16 15:56:50 +01:00
|
|
|
FIRMWARE_IMX_VERSION = 5.3
|
2014-02-14 01:26:18 +01:00
|
|
|
FIRMWARE_IMX_SITE = $(FREESCALE_IMX_SITE)
|
2012-12-19 14:37:33 +01:00
|
|
|
FIRMWARE_IMX_SOURCE = firmware-imx-$(FIRMWARE_IMX_VERSION).bin
|
2014-11-19 22:30:35 +01:00
|
|
|
|
2012-12-19 14:37:33 +01:00
|
|
|
FIRMWARE_IMX_LICENSE = Freescale Semiconductor Software License Agreement, \
|
|
|
|
Atheros license (ath6k)
|
2015-09-11 11:39:40 +02:00
|
|
|
FIRMWARE_IMX_LICENSE_FILES = EULA COPYING
|
2012-12-19 14:37:33 +01:00
|
|
|
FIRMWARE_IMX_REDISTRIBUTE = NO
|
|
|
|
|
2016-01-30 12:45:48 +01:00
|
|
|
FIRMWARE_IMX_BLOBS = sdma vpu
|
2012-12-19 14:37:33 +01:00
|
|
|
|
|
|
|
define FIRMWARE_IMX_EXTRACT_CMDS
|
2014-11-19 22:30:35 +01:00
|
|
|
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(FIRMWARE_IMX_SOURCE))
|
2012-12-19 14:37:33 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define FIRMWARE_IMX_INSTALL_TARGET_CMDS
|
2016-01-30 12:45:48 +01:00
|
|
|
mkdir -p $(TARGET_DIR)/lib/firmware/imx
|
2012-12-19 14:37:33 +01:00
|
|
|
for blobdir in $(FIRMWARE_IMX_BLOBS); do \
|
|
|
|
cp -r $(@D)/firmware/$${blobdir} $(TARGET_DIR)/lib/firmware; \
|
|
|
|
done
|
2016-01-30 12:45:48 +01:00
|
|
|
cp -r $(@D)/firmware/epdc $(TARGET_DIR)/lib/firmware/imx
|
|
|
|
mv $(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted \
|
2016-03-09 22:30:30 +01:00
|
|
|
$(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw
|
2012-12-19 14:37:33 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|