diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-07 11:57:20 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-07 11:57:20 +0000 |
commit | 725611a466f2edf12f809d22339b22223af4afe7 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /openwrt/target/linux/imagebuilder/Makefile | |
parent | f4dd5a6d7c4ebea48cd6292744cb9def6037de80 (diff) |
move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the developers are ready
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@4944 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/imagebuilder/Makefile')
-rw-r--r-- | openwrt/target/linux/imagebuilder/Makefile | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/openwrt/target/linux/imagebuilder/Makefile b/openwrt/target/linux/imagebuilder/Makefile deleted file mode 100644 index 4afb4d45a..000000000 --- a/openwrt/target/linux/imagebuilder/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -default: clean all - -TOPDIR:=${shell pwd} -export TOPDIR -IB:=1 -export IB -include ./rules.mk - -LINUX_BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD) -IPKG_KERNEL:=IPKG_TMP=$(BUILD_DIR)/tmp IPKG_INSTROOT=$(LINUX_BUILD_DIR)/root IPKG_CONF_DIR=$(LINUX_BUILD_DIR) $(SCRIPT_DIR)/ipkg -force-defaults -force-depends - -define image_template - -all: all-$(1)-$(2) - -all-$(1)-$(2): - @for listfile in ./lists/*.$(1)-$(2); do \ - $(MAKE) -s `echo $$$$listfile | sed 's,.*lists/\(.*\).$(1)-$(2),BOARD=$(1) KERNEL=$(2) LIST=\1,'` build; \ - done -endef - -include ./kernel.mk - -clean: - @rm -rf $(LINUX_BUILD_DIR)/root* - @rm -rf $(BIN_DIR) -all: - -build: - echo - echo '### BUILDING IMAGE FROM lists/$(LIST).$(BOARD)-$(KERNEL)' - echo - rm -rf $(LINUX_BUILD_DIR)/root* - mkdir -p $(BIN_DIR)/$(LIST) - mkdir -p $(LINUX_BUILD_DIR)/tmp - mkdir -p $(LINUX_BUILD_DIR)/root - echo -e 'dest root /\noption offline_root $(LINUX_BUILD_DIR)/root' > $(LINUX_BUILD_DIR)/ipkg.conf - $(IPKG_KERNEL) install $(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)/kernel[-_]*.ipk - for package in `grep -v '^#' lists/$(LIST).$(BOARD)-$(KERNEL)`; do \ - $(IPKG_KERNEL) install `ls packages/$${package}_*`; \ - done - if [ -d ./files ]; then \ - $(CP) --remove-destination ./files/* $(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 |