bugfix for the rb532 block2mtd code
[openwrt.git] / package / robocfg / 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
11 PKG_NAME:=robocfg
12 PKG_VERSION:=0.01
13 PKG_RELEASE:=1
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/robocfg
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/robocfg
20 SECTION:=base
21 TITLE:=BCM5325E/536x switch configuration utility
22 DESCRIPTION:=Broadcom BCM5325E/536x switch configuration utility
23 endef
24
25 define Build/Prepare
26 mkdir -p $(PKG_BUILD_DIR)
27 $(CP) ./src/* $(PKG_BUILD_DIR)/
28 endef
29
30 define Build/Compile
31 $(MAKE) -C $(PKG_BUILD_DIR) \
32 CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
33 all
34 endef
35
36 define Package/robocfg/install
37 install -d -m0755 $(1)/sbin
38 install -m0755 $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
39 endef
40
41 $(eval $(call BuildPackage,robocfg))
This page took 0.046116 seconds and 5 git commands to generate.