[commits] [openwrt-feed-devel] master: alfred: Use standard Build/Compile rule (62ecd7c)

postmaster at open-mesh.org postmaster at open-mesh.org
Thu Aug 1 16:55:18 CEST 2019


Repository : ssh://git@open-mesh.org/openwrt-feed-devel

On branch  : master

>---------------------------------------------------------------

commit 62ecd7c7ac5c76cd432f7456304ad1f99e527179
Author: Sven Eckelmann <sven at narfation.org>
Date:   Sat Jul 27 22:10:04 2019 +0200

    alfred: Use standard Build/Compile rule
    
    alfred isn't using any special rules in Build/Compile. It is cleaner to
    directly use the global Build/Compile/Default instead of having a
    functional similar copy in the package Makefile
    
    Signed-off-by: Sven Eckelmann <sven at narfation.org>


>---------------------------------------------------------------

62ecd7c7ac5c76cd432f7456304ad1f99e527179
 alfred-devel/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/alfred-devel/Makefile b/alfred-devel/Makefile
index 75379bb..10ff87d 100644
--- a/alfred-devel/Makefile
+++ b/alfred-devel/Makefile
@@ -72,7 +72,7 @@ define Package/alfred-devel/config
 	source "$(SOURCE)/Config.in"
 endef
 
-MAKE_ALFRED_FLAGS=\
+MAKE_FLAGS += \
 	CONFIG_ALFRED_VIS=$(if $(CONFIG_PACKAGE_ALFRED_DEVEL_VIS),y,n) \
 	CONFIG_ALFRED_GPSD=$(if $(CONFIG_PACKAGE_ALFRED_DEVEL_GPSD),y,n) \
 	CONFIG_ALFRED_CAPABILITIES=n \
@@ -93,12 +93,6 @@ endef
 
 endif
 
-define Build/Compile
-	CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
-	LDFLAGS="$(TARGET_LDFLAGS)" \
-	$(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) $(MAKE_ALFRED_FLAGS) all
-endef
-
 define Package/alfred-devel/install
 	$(INSTALL_DIR) $(1)/usr/sbin
 	cp -fpR  $(PKG_BUILD_DIR)/alfred $(1)/usr/sbin/



More information about the commits mailing list