Skip to contentSkip to conversation

libsvgtiny: pass TARGET_CONFIGURE_ENV / OPTS to each make invocation

PATCH New Peter Korsgaard 3 participants 3 messages Jul 6, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libsvgtiny: pass TARGET_CONFIGURE_ENV / OPTS to each make invocation

commit: http://git.buildroot.net/buildroot/commit/?id=8251a6d2437edd9d4f6ca5d24e5c935fbe0ba06a
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

As it doesn't use a ./configure, we need to pass it each time.

---
 package/libsvgtiny/libsvgtiny.mk |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)
package/libsvgtiny/libsvgtiny.mk +12 -6
index ca0d2c9..7484764 100644
@@ -21,27 +21,33 @@ $(DL_DIR)/$(LIBSVGTINY_SOURCE):
 LIBSVGTINY_TARGET_SOURCE := $(DL_DIR)/$(LIBSVGTINY_SOURCE)
 
 define LIBSVGTINY_BUILD_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr
+	$(TARGET_CONFIGURE_ENV) $(TARGET_CONFIGURE_OPTS) \
+		 $(MAKE) -C $(@D) PREFIX=/usr
 endef
 
 define LIBSVGTINY_INSTALL_STAGING_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) install
+	$(TARGET_CONFIGURE_ENV) $(TARGET_CONFIGURE_OPTS) \
+		$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) install
 endef
 
 define LIBSVGTINY_UNINSTALL_STAGING_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) uninstall
+	$(TARGET_CONFIGURE_ENV) $(TARGET_CONFIGURE_OPTS) \
+		$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) uninstall
 endef
 
 define LIBSVGTINY_INSTALL_TARGET_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) install
+	$(TARGET_CONFIGURE_ENV) $(TARGET_CONFIGURE_OPTS) \
+		$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) install
 endef
 
 define LIBSVGTINY_UNINSTALL_TARGET_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) uninstall
+	$(TARGET_CONFIGURE_ENV) $(TARGET_CONFIGURE_OPTS) \
+		$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) uninstall
 endef
 
 define BZIP2_CLEAN_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) clean
+	$(TARGET_CONFIGURE_ENV) $(TARGET_CONFIGURE_OPTS) \
+		$(MAKE) -C $(@D) clean
 endef
 
 $(eval $(call GENTARGETS,package,libsvgtiny))
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 libsvgtiny: pass TARGET_CONFIGURE_ENV / OPTS to each make invocation

Quoted 1 line · On Tue, 6 Jul 2010 16:43:04 +0200 Peter Korsgaard <[email protected]> wrote:

define BZIP2_CLEAN_CMDS

Should probably be LIBSVGTINY_CLEAN_CMDS.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH 1/1 libsvgtiny: pass TARGET_CONFIGURE_ENV / OPTS to each make invocation

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> On Tue, 6 Jul 2010 16:43:04 +0200

Quoted 1 line · Thomas> Peter Korsgaard <[email protected]> wrote:
Quoted 1 line

define BZIP2_CLEAN_CMDS

Thomas> Should probably be LIBSVGTINY_CLEAN_CMDS.

Argh, cut'n'paste - Will fix.

Signature · 1 line
Bye, Peter Korsgaard