add initial 2.6.28 support for brcm47xx target
[openwrt.git] / target / linux / at91 / image / dfboot / 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:=dfboot
13 PKG_VERSION:=0.1
14 PKG_RELEASE:=1
15
16 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Build/Prepare
21 mkdir -p $(PKG_BUILD_DIR)
22 $(CP) ./src/* $(PKG_BUILD_DIR)/
23 endef
24
25 define Build/Compile
26 $(MAKE) -C $(PKG_BUILD_DIR) \
27 $(TARGET_CONFIGURE_OPTS) \
28 CFLAGS="$(TARGET_CFLAGS)"
29 endef
30
31 define Build/InstallDev
32 dd if=$(PKG_BUILD_DIR)/binary/dfboot.bin of=$(PKG_BUILD_DIR)/binary/dfboot.block bs=32k count=1 conv=sync
33 endef
34
35 $(eval $(call Build/DefaultTargets))
This page took 0.053863 seconds and 5 git commands to generate.