Fix ccache compilation, standardize, closes #831
authorFlorian Fainelli <florian@openwrt.org>
Tue, 10 Oct 2006 21:26:54 +0000 (21:26 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 10 Oct 2006 21:26:54 +0000 (21:26 +0000)
SVN-Revision: 5039

net/uob-nomad/Makefile

index b547078..fc2db4a 100644 (file)
@@ -38,26 +38,11 @@ define Package/uob-nomad
 endef
 
 define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR)/Agent \
-               CC=$(TARGET_CC) \
-               $(TARGET_CONFIGURE_OPTS) \
-               mipagent
-       $(MAKE) -C $(PKG_BUILD_DIR)/Client/net-tools \
-               CC=$(TARGET_CC) \
-               $(TARGET_CONFIGURE_OPTS) \
-               clean
-       $(MAKE) -C $(PKG_BUILD_DIR)/Client/net-tools/lib \
-               CC=$(TARGET_CC) \
-               $(TARGET_CONFIGURE_OPTS) \
-               clean
-       $(MAKE) -C $(PKG_BUILD_DIR)/Client/net-tools \
-               CC=$(TARGET_CC) \
-               $(TARGET_CONFIGURE_OPTS) \
-               all
-       $(MAKE) -C $(PKG_BUILD_DIR)/Client \
-               CC=$(TARGET_CC) \
-               $(TARGET_CONFIGURE_OPTS) \
-               mipmn
+$(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Agent 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)
 endef
 
 define Package/uob-nomad/install