Fix brcm63xx support. Now a kernel is booting, detecting the flash, and can probably...
[openwrt.git] / target / linux / imagebuilder / Makefile
index 8ed7a5c..2c1ab17 100644 (file)
@@ -1,3 +1,9 @@
+# 
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
 default: clean all
 
 TOPDIR:=${shell pwd}
 default: clean all
 
 TOPDIR:=${shell pwd}
@@ -21,12 +27,12 @@ endef
 
 include ./kernel.mk
 
 
 include ./kernel.mk
 
-clean:
+clean: FORCE
        @rm -rf $(LINUX_BUILD_DIR)/root*
        @rm -rf $(BIN_DIR)
 all:
 
        @rm -rf $(LINUX_BUILD_DIR)/root*
        @rm -rf $(BIN_DIR)
 all:
 
-build:
+build: FORCE
        echo
        echo '### BUILDING IMAGE FROM lists/$(LIST).$(BOARD)-$(KERNEL)'
        echo
        echo
        echo '### BUILDING IMAGE FROM lists/$(LIST).$(BOARD)-$(KERNEL)'
        echo
@@ -45,4 +51,5 @@ build:
        if [ -d ./files.$(LIST) ]; then \
                $(CP) --remove-destination ./files.$(LIST)/* $(LINUX_BUILD_DIR)/root; \
        fi
        if [ -d ./files.$(LIST) ]; then \
                $(CP) --remove-destination ./files.$(LIST)/* $(LINUX_BUILD_DIR)/root; \
        fi
+       find $(LINUX_BUILD_DIR)/root -name '.svn' || 'CVS' | xargs rm -rf
        $(MAKE) -S -C image KERNEL="$(KERNEL)" BOARD="$(BOARD)" BIN_DIR="$(BIN_DIR)/$(LIST)" install
        $(MAKE) -S -C image KERNEL="$(KERNEL)" BOARD="$(BOARD)" BIN_DIR="$(BIN_DIR)/$(LIST)" install
This page took 0.022571 seconds and 4 git commands to generate.