ux500-firmware: use $(TARGET_MAKE_ENV) when calling $(MAKE)
And remove whitespace. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
3282f2eb2f
commit
9e71dd6ec7
|
@ -14,7 +14,7 @@ UX500_FIRMWARE_REDISTRIBUTE = NO
|
|||
# The CG2900 linux driver has to load firmware named CG29XX_* but the firmware
|
||||
# filenames contained in this package are CG2900_* hence the code below
|
||||
define UX500_FIRMWARE_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||
for f in $(TARGET_DIR)/lib/firmware/CG2900* ; do \
|
||||
mv $$f $${f/CG2900/CG29XX}; \
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue