Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit master 1/1] libsvgtiny: pass TARGET_CONFIGURE_ENV / OPTS to each make invocation
@ 2010-07-06 14:43 Peter Korsgaard
  2010-07-06 15:20 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2010-07-06 14:43 UTC (permalink / raw)
  To: buildroot


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.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/libsvgtiny/libsvgtiny.mk |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/package/libsvgtiny/libsvgtiny.mk b/package/libsvgtiny/libsvgtiny.mk
index ca0d2c9..7484764 100644
--- a/package/libsvgtiny/libsvgtiny.mk
+++ b/package/libsvgtiny/libsvgtiny.mk
@@ -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))
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [git commit master 1/1] libsvgtiny: pass TARGET_CONFIGURE_ENV / OPTS to each make invocation
  2010-07-06 14:43 [Buildroot] [git commit master 1/1] libsvgtiny: pass TARGET_CONFIGURE_ENV / OPTS to each make invocation Peter Korsgaard
@ 2010-07-06 15:20 ` Thomas Petazzoni
  2010-07-06 15:26   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2010-07-06 15:20 UTC (permalink / raw)
  To: buildroot

On Tue, 6 Jul 2010 16:43:04 +0200
Peter Korsgaard <jacmet@sunsite.dk> wrote:

>  define BZIP2_CLEAN_CMDS

Should probably be LIBSVGTINY_CLEAN_CMDS.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [git commit master 1/1] libsvgtiny: pass TARGET_CONFIGURE_ENV / OPTS to each make invocation
  2010-07-06 15:20 ` Thomas Petazzoni
@ 2010-07-06 15:26   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-07-06 15:26 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> On Tue, 6 Jul 2010 16:43:04 +0200
 Thomas> Peter Korsgaard <jacmet@sunsite.dk> wrote:

 >> define BZIP2_CLEAN_CMDS

 Thomas> Should probably be LIBSVGTINY_CLEAN_CMDS.

Argh, cut'n'paste - Will fix.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-06 15:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-06 14:43 [Buildroot] [git commit master 1/1] libsvgtiny: pass TARGET_CONFIGURE_ENV / OPTS to each make invocation Peter Korsgaard
2010-07-06 15:20 ` Thomas Petazzoni
2010-07-06 15:26   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox