package/feh: Cleanup build configuration
authorPetr Vorel <petr.vorel@gmail.com>
Thu, 16 Nov 2017 10:04:58 +0000 (11:04 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 Dec 2017 21:21:29 +0000 (22:21 +0100)
* build in parallel
* use TARGET_CONFIGURE_OPTS
* cleanup FEH_INSTALL_TARGET_CMDS

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/feh/feh.mk

index 7211dc7bddf2e955b7041c2d83a6b80c45ac3e2d..3442f571970575eeee087ba80403da61dce1875f 100644 (file)
@@ -12,13 +12,12 @@ FEH_LICENSE = MIT
 FEH_LICENSE_FILES = COPYING
 
 define FEH_BUILD_CMDS
-       $(TARGET_MAKE_ENV) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" $(MAKE1) \
-               CC="$(TARGET_CC) $(TARGET_LDFLAGS)" -C $(@D) all
+       $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
+               $(MAKE) -C $(@D) all
 endef
 
 define FEH_INSTALL_TARGET_CMDS
-       $(TARGET_MAKE_ENV) $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) " \
-               PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
+       $(TARGET_MAKE_ENV) $(MAKE) PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
 endef
 
 $(eval $(generic-package))