summaryrefslogtreecommitdiff
path: root/target/wag54g/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-13 00:30:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-13 00:30:49 +0100
commitb6a5c9e0b1ed79e56e7dc8b3a0b2a61856fda576 (patch)
tree622172c6d4fba89038c9f92d12085fce72268259 /target/wag54g/Makefile
parent4129680028eaddf98219126f787b08551bbf7088 (diff)
unify alix support
add hardware profiles for 3 alix boards, but use the same toolchain for all of them. This is just better for maintenance purpose. delete old targets.
Diffstat (limited to 'target/wag54g/Makefile')
-rw-r--r--target/wag54g/Makefile47
1 files changed, 0 insertions, 47 deletions
diff --git a/target/wag54g/Makefile b/target/wag54g/Makefile
deleted file mode 100644
index 0a864ad4c..000000000
--- a/target/wag54g/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
-
-$(TOOLS_BUILD_DIR):
- mkdir -p $(TOOLS_BUILD_DIR)
-
-tools-compile: $(TOOLS_BUILD_DIR)
- $(MAKE) -C tools/addpattern
- $(MAKE) -C tools/srec2bin
- $(MAKE) -C ../tools/squashfs prepare compile install
-
-kernel-install: tools-compile
- PATH='${TARGET_PATH}' \
- $(TARGET_CROSS)objcopy -S -O srec $(LINUX_DIR)/vmlinux \
- $(LINUX_DIR)/vmlinux.srec
- PATH='${TARGET_PATH}' \
- srec2bin $(LINUX_DIR)/vmlinux.srec $(LINUX_DIR)/vmlinux.bin
- (dd if=/dev/zero bs=16 count=1; cat $(LINUX_DIR)/vmlinux.bin) > \
- $(LINUX_DIR)/vmlinux.tmp
- PATH='${TARGET_PATH}' \
- addpattern -p WA21 -i $(LINUX_DIR)/vmlinux.tmp \
- -o $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
-
-ifeq ($(FS),squashfs)
-imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSSQUASHFS)
- ${CP} ${BUILD_DIR}/${ROOTFSSQUASHFS} $(BIN_DIR)/$(ROOTFSSQUASHFS)
- @echo The image file is $(ROOTFSSQUASHFS)
- @echo 'You can flash the image via tftp:'
- @echo 'tftp 192.168.1.1'
- @echo 'tftp> binary'
- @echo "tftp> put $(ROOTFSSQUASHFS) upgrade_code.bin"
-endif
-ifeq ($(FS),nfsroot)
-imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSTARBALL)
- @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
- @echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}'
- @echo 'You can flash the kernel via tftp:'
- @echo 'tftp 192.168.1.1'
- @echo 'tftp> binary'
- @echo 'tftp> put ${ADK_TARGET}-${FS}-kernel upgrade_code.bin'
-endif