uob-nomad: clean the tree to avoid packaging precompiled binaries, fix passing openwrt cflags

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32234 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-06-11 23:30:15 +00:00
parent 82bd0e7758
commit d0588dcb55

View File

@ -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