|
@@ -19,19 +19,19 @@ AM335X_MAKE_TARGET = release $(if $(BR2_STATIC_LIBS),,sorelease)
|
|
|
endif
|
|
|
|
|
|
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)
|
|
|
endef
|
|
|
|
|
|
# '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.
|
|
|
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
|
|
|
endef
|
|
|
|
|
|
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
|
|
|
endef
|
|
|
|