summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-06 16:37:12 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-06 16:43:04 +0200
commit8251a6d2437edd9d4f6ca5d24e5c935fbe0ba06a (patch)
treede57f0039a1791298159d7149a35499df55d6aeb /package
parent94962bf597920eb3b9a29c4c20001278c6f536f5 (diff)
libsvgtiny: pass TARGET_CONFIGURE_ENV / OPTS to each make invocation
As it doesn't use a ./configure, we need to pass it each time. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/libsvgtiny/libsvgtiny.mk18
1 files changed, 12 insertions, 6 deletions
diff --git a/package/libsvgtiny/libsvgtiny.mk b/package/libsvgtiny/libsvgtiny.mk
index ca0d2c900..748476427 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))