mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 15:07:43 +00:00
am335x-pru-package: use $(TARGET_MAKE_ENV) when calling $(MAKE)
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
802711aaea
commit
f734cc7955
@ -19,19 +19,19 @@ AM335X_MAKE_TARGET = release $(if $(BR2_STATIC_LIBS),,sorelease)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define AM335X_PRU_PACKAGE_BUILD_CMDS
|
define AM335X_PRU_PACKAGE_BUILD_CMDS
|
||||||
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" \
|
$(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
-C $(@D)/pru_sw/app_loader/interface $(AM335X_MAKE_TARGET)
|
-C $(@D)/pru_sw/app_loader/interface $(AM335X_MAKE_TARGET)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# 'install' installs whatever was built, and our patch removes the dependency
|
# 'install' installs whatever was built, and our patch removes the dependency
|
||||||
# on the release build, so we can use it to install whatever we built above.
|
# on the release build, so we can use it to install whatever we built above.
|
||||||
define AM335X_PRU_PACKAGE_INSTALL_STAGING_CMDS
|
define AM335X_PRU_PACKAGE_INSTALL_STAGING_CMDS
|
||||||
$(MAKE1) DESTDIR="$(STAGING_DIR)" PREFIX="/usr" \
|
$(TARGET_MAKE_ENV) $(MAKE1) DESTDIR="$(STAGING_DIR)" PREFIX="/usr" \
|
||||||
-C $(@D)/pru_sw/app_loader/interface install
|
-C $(@D)/pru_sw/app_loader/interface install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define AM335X_PRU_PACKAGE_INSTALL_TARGET_CMDS
|
define AM335X_PRU_PACKAGE_INSTALL_TARGET_CMDS
|
||||||
$(MAKE1) DESTDIR="$(TARGET_DIR)" PREFIX="/usr" \
|
$(TARGET_MAKE_ENV) $(MAKE1) DESTDIR="$(TARGET_DIR)" PREFIX="/usr" \
|
||||||
-C $(@D)/pru_sw/app_loader/interface install
|
-C $(@D)/pru_sw/app_loader/interface install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user