From: Felix Fietkau Date: Mon, 11 Jun 2012 23:30:15 +0000 (+0000) Subject: uob-nomad: clean the tree to avoid packaging precompiled binaries, fix passing openwr... X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=bef0577e6940abcdae7e7d65a02f8ab41c2d3aeb;p=openwrt%2Fsvn-archive%2Farchive.git uob-nomad: clean the tree to avoid packaging precompiled binaries, fix passing openwrt cflags SVN-Revision: 32234 --- diff --git a/net/uob-nomad/Makefile b/net/uob-nomad/Makefile index 8435dac2bb..cdf673c139 100644 --- a/net/uob-nomad/Makefile +++ b/net/uob-nomad/Makefile @@ -38,12 +38,15 @@ This is an implementation of NOMADv4 (Filters for status information to the UoB-NOMAD-GUI (ver 0.1). endef +MAKE_FLAGS = \ + CC="$(TARGET_CC) $(TARGET_CFLAGS)" + define Build/Compile -$(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Agent mipagent) +$(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Agent clean mipagent) $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools clean) $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools/lib clean) $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools all) -$(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client mipmn) +$(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client clean mipmn) endef define Package/uob-nomad/install