From 242f6720931d4f86fb6f8fc9742a29a297f878c4 Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sun, 1 Feb 2015 16:58:08 -0700 Subject: [PATCH] pps-tools: also pass TARGET_CONFIGURE_OPTS to make install Without these environment variables, pps-tools rebuilds for the host machine architecture and does not run on the target machine. Signed-off-by: Ryan Coe Signed-off-by: Thomas Petazzoni --- package/pps-tools/pps-tools.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/pps-tools/pps-tools.mk b/package/pps-tools/pps-tools.mk index 78764030bb..48feea9f21 100644 --- a/package/pps-tools/pps-tools.mk +++ b/package/pps-tools/pps-tools.mk @@ -16,12 +16,14 @@ endef define PPS_TOOLS_INSTALL_STAGING_CMDS mkdir -p $(STAGING_DIR)/usr/include/sys $(STAGING_DIR)/usr/bin - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(STAGING_DIR) -C $(@D) install + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(STAGING_DIR) -C $(@D) install endef define PPS_TOOLS_INSTALL_TARGET_CMDS mkdir -p $(TARGET_DIR)/usr/include/sys $(TARGET_DIR)/usr/bin - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(TARGET_DIR) -C $(@D) install endef $(eval $(generic-package))