Added primary and secondary bootloaders
[openwrt/svn-archive/archive.git] / target / linux / at91-2.6 / image / romboot / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=romboot
13 PKG_VERSION:=0.1
14 PKG_RELEASE:=1
15
16 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
17 PKG_SOURCE:=$(PKG_NAME).tar.gz
18 PKG_SOURCE_URL:=http://www.teest.com/at91
19 PKG_MD5SUM:=
20 PKG_CAT:=zcat
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Build/InstallDev
25 dd if=$(PKG_BUILD_DIR)/romboot.bin of=$(PKG_BUILD_DIR)/romboot.block bs=32k count=1 conv=sync
26 endef
27
28 $(eval $(call Build/DefaultTargets))