Explorar el Código

lldpd: consolidate CONFIGURE_VARS

Signed-off-by: Stijn Tintel <[email protected]>
Stijn Tintel hace 7 años
padre
commit
c5b89abe2a
Se han modificado 1 ficheros con 3 adiciones y 5 borrados
  1. 3 5
      package/network/services/lldpd/Makefile

+ 3 - 5
package/network/services/lldpd/Makefile

@@ -85,10 +85,6 @@ define Package/lldpd/conffiles
 /etc/config/lldpd
 /etc/config/lldpd
 endef
 endef
 
 
-CONFIGURE_VARS += \
-	$(if $(CONFIG_USE_GLIBC),,libbsd_CFLAGS=-ldo-not-link-bsd) \
-	$(if $(CONFIG_USE_GLIBC),,libbsd_LDFLAGS=-ldo-not-link-bsd)
-
 CONFIGURE_ARGS += \
 CONFIGURE_ARGS += \
 	$(if $(CONFIG_LLDPD_WITH_PRIVSEP), \
 	$(if $(CONFIG_LLDPD_WITH_PRIVSEP), \
 	--with-privsep-user=lldp \
 	--with-privsep-user=lldp \
@@ -113,6 +109,8 @@ CONFIGURE_ARGS += \
 
 
 # there is no flag to disable libbsd
 # there is no flag to disable libbsd
 CONFIGURE_VARS += \
 CONFIGURE_VARS += \
-       $(if $(CONFIG_USE_GLIBC),,libbsd_LIBS="-lNONexistent")
+	$(if $(CONFIG_USE_GLIBC),,libbsd_CFLAGS=-ldo-not-link-bsd) \
+	$(if $(CONFIG_USE_GLIBC),,libbsd_LDFLAGS=-ldo-not-link-bsd) \
+	$(if $(CONFIG_USE_GLIBC),,libbsd_LIBS="-lNONexistent")
 
 
 $(eval $(call BuildPackage,lldpd))
 $(eval $(call BuildPackage,lldpd))