fixes for common config functions
[openwrt.git] / package / robocfg / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=robocfg
6 PKG_VERSION:=0.01
7 PKG_RELEASE:=1
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/robocfg
10
11 include $(INCLUDE_DIR)/package.mk
12
13 define Package/robocfg
14 SECTION:=base
15 TITLE:=BCM5325E/536x switch configuration utility
16 DESCRIPTION:=Broadcom BCM5325E/536x switch configuration utility
17 endef
18
19 define Build/Prepare
20 mkdir -p $(PKG_BUILD_DIR)
21 $(CP) ./src/* $(PKG_BUILD_DIR)/
22 endef
23
24 define Build/Compile
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
27 all
28 endef
29
30 define Package/robocfg/install
31 install -d -m0755 $(1)/sbin
32 install -m0755 $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
33 endef
34
35 $(eval $(call BuildPackage,robocfg))
This page took 0.039731 seconds and 5 git commands to generate.