summaryrefslogtreecommitdiff
path: root/target/linux/avr32/image/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-24 10:06:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-24 10:06:14 +0000
commit2450985de9b4e47c77b57c1fd9469d43d1c43636 (patch)
treece96457648a0faf068fb53892bf322ab5a0c749c /target/linux/avr32/image/Makefile
parent3b6c70b7fc07627510d236833446a928c6bcbe61 (diff)
downloadmtk-20170518-2450985de9b4e47c77b57c1fd9469d43d1c43636.zip
mtk-20170518-2450985de9b4e47c77b57c1fd9469d43d1c43636.tar.gz
mtk-20170518-2450985de9b4e47c77b57c1fd9469d43d1c43636.tar.bz2
avr32: remove target
It depends on obsolete compilers and only works on one device (an evaluation board). Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44956
Diffstat (limited to 'target/linux/avr32/image/Makefile')
-rw-r--r--target/linux/avr32/image/Makefile55
1 files changed, 0 insertions, 55 deletions
diff --git a/target/linux/avr32/image/Makefile b/target/linux/avr32/image/Makefile
deleted file mode 100644
index 99761c6..0000000
--- a/target/linux/avr32/image/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# Copyright (C) 2007-2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/image.mk
-
-KDIR_TMP:=$(KDIR)/tmp
-
-ifneq ($(CONFIG_AVR32_UBOOT),)
- define Build/Clean
- $(MAKE) -C u-boot clean
- endef
-
- define Build/Compile
- $(MAKE) -C u-boot compile
- endef
-endif
-
-define Image/BuildKernel
- -mkdir -p $(KDIR_TMP)
- cp $(KDIR)/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage
-
- $(STAGING_DIR_HOST)/bin/lzma e $(LINUX_DIR)/arch/avr32/boot/images/vmlinux.bin $(KDIR)/vmlinux.lzma
- mkimage -A avr32 -O linux -T kernel -a 0x10000000 -C lzma \
- -e 0x90000000 \
- -n 'OpenWrt Linux-$(LINUX_VERSION)' \
- -d $(KDIR)/vmlinux.lzma $(KDIR)/uImage-lzma
-
- cp $(KDIR)/uImage-lzma $(BIN_DIR)/$(IMG_PREFIX)-uImage-lzma
-endef
-
-define Image/Build
- $(call Image/Build/$(1),$(1))
-endef
-
-define Image/Build/squashfs
- ( \
- cat $(KDIR)/uImage-lzma; \
- cat $(KDIR)/root.squashfs; \
- ) > $(KDIR_TMP)/avr32-squahsfs.img
- padjffs2 $(KDIR_TMP)/avr32-squahsfs.img 64
- dd if=$(KDIR_TMP)/avr32-squahsfs.img of=$(BIN_DIR)/$(IMG_PREFIX)-$(1).img bs=64k conv=sync
-endef
-
-define Image/Build/jffs2-64k
- ( \
- dd if=$(KDIR)/uImage-lzma bs=64k conv=sync; \
- dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
- ) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).img
-endef
-
-$(eval $(call BuildImage))