only build dtc for the target that uses it
[openwrt.git] / tools / firmware-utils / Makefile
index 6a0c223..962e5d1 100644 (file)
@@ -1,4 +1,4 @@
-# 
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -28,10 +28,11 @@ define Build/Compile
        $(call cc,mkcsysimg)
        $(call cc,mkzynfw)
        $(call cc,lzma2eva,-lz)
+       $(call cc,mkcasfw)
 endef
 
 define Build/Install
-       $(CP) $(PKG_BUILD_DIR)/bin/* $(STAGING_DIR_HOST)/bin/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/* $(STAGING_DIR_HOST)/bin/
 endef
 
 $(eval $(call HostBuild))