From 2168d42852487986c8c3ab5c7136d2313498f071 Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Thu, 16 Nov 2017 11:04:58 +0100 Subject: [PATCH] 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 --- package/feh/feh.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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)) -- 2.30.2