From: Petr Vorel Date: Thu, 16 Nov 2017 10:04:58 +0000 (+0100) Subject: package/feh: Cleanup build configuration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2168d42852487986c8c3ab5c7136d2313498f071;p=buildroot.git package/feh: Cleanup build configuration * build in parallel * use TARGET_CONFIGURE_OPTS * cleanup FEH_INSTALL_TARGET_CMDS Signed-off-by: Petr Vorel Signed-off-by: Thomas Petazzoni --- diff --git a/package/feh/feh.mk b/package/feh/feh.mk index 7211dc7bdd..3442f57197 100644 --- a/package/feh/feh.mk +++ b/package/feh/feh.mk @@ -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))