diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/avr32/image/.svn | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'target/linux/avr32/image/.svn')
-rw-r--r-- | target/linux/avr32/image/.svn/entries | 99 | ||||
-rw-r--r-- | target/linux/avr32/image/.svn/text-base/Config.in.svn-base | 13 | ||||
-rw-r--r-- | target/linux/avr32/image/.svn/text-base/Makefile.svn-base | 55 |
3 files changed, 167 insertions, 0 deletions
diff --git a/target/linux/avr32/image/.svn/entries b/target/linux/avr32/image/.svn/entries new file mode 100644 index 0000000..467044e --- /dev/null +++ b/target/linux/avr32/image/.svn/entries @@ -0,0 +1,99 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/avr32/image +svn://svn.openwrt.org/openwrt + + + +2013-03-12T13:28:16.006761Z +35978 +juhosg + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +u-boot +dir + +Config.in +file + + + + +2013-03-17T12:12:23.000000Z +75d639c0507f7ec618a3f5bf8bf2d6fa +2008-04-28T16:15:24.606219Z +10964 +kaloz + + + + + + + + + + + + + + + + + + + + + +323 + +Makefile +file + + + + +2013-03-17T12:12:23.000000Z +1b877681358bc2238109149a88da708e +2013-03-12T13:28:16.006761Z +35978 +juhosg + + + + + + + + + + + + + + + + + + + + + +1360 + diff --git a/target/linux/avr32/image/.svn/text-base/Config.in.svn-base b/target/linux/avr32/image/.svn/text-base/Config.in.svn-base new file mode 100644 index 0000000..bc5469e --- /dev/null +++ b/target/linux/avr32/image/.svn/text-base/Config.in.svn-base @@ -0,0 +1,13 @@ +config AVR32_UBOOT + bool "Build U-Boot bootloader" + depends TARGET_avr32 + default n + +config AVR32_UBOOT_TARGET + string "U-Boot target board" + depends TARGET_avr32 + depends AVR32_UBOOT + default "atngw100" + help + For all supported boards there are ready-to-use default + configurations available; just type "<board_name>". diff --git a/target/linux/avr32/image/.svn/text-base/Makefile.svn-base b/target/linux/avr32/image/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..11387b1 --- /dev/null +++ b/target/linux/avr32/image/.svn/text-base/Makefile.svn-base @@ -0,0 +1,55 @@ +# +# 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 + +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/Prepare + cp $(LINUX_DIR)/arch/avr32/boot/images/uImage $(KDIR)/uImage +endef + +define Image/BuildKernel + 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 + $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) + ( \ + dd if=$(KDIR)/uImage-lzma bs=1024k conv=sync; \ + dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \ + ) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).img +endef + +define Image/Build/jffs2-64k + ( \ + dd if=$(KDIR)/uImage-lzma bs=1024k conv=sync; \ + dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \ + ) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).img +endef + +$(eval $(call BuildImage)) |