]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
naoki: Add shortcut for more options to configure.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 2 Dec 2009 17:00:38 +0000 (18:00 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 2 Dec 2009 17:00:38 +0000 (18:00 +0100)
pkgs/Include

index 324aa40f0e2c304acc40087254aaebc5dd033892..8ea719c16cab38a84e6206bc070dfe10610f4f3d 100644 (file)
@@ -66,6 +66,7 @@ endef
 PKG_BUILD_DEPS += glibc gcc
 
 CONFIGURE_ARCH = --build=$(TARGET) --host=$(TARGET)
+CONFIGURE_OPTIONS = $(CONFIGURE_ARCH) --prefix=/usr
 
 ifeq "$(TARGET_MACHINE)" "x86_64"
        LINKER = /lib64/ld-linux-x86-64.so.2
@@ -140,8 +141,7 @@ endef
 define STAGE_BUILD
        cd $(DIR_APP) && \
                ./configure \
-                       $(CONFIGURE_ARCH) \
-                       --prefix=/usr
+                       $(CONFIGURE_OPTIONS)
 
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
 endef