2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/robocfg
17 include $(INCLUDE_DIR
)/package.mk
19 define Package
/robocfg
21 TITLE
:=BCM5325E
/536x switch configuration utility
22 DESCRIPTION
:=Broadcom BCM5325E
/536x switch configuration utility
26 mkdir
-p
$(PKG_BUILD_DIR
)
27 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
31 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
32 CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)" \
36 define Package
/robocfg
/install
37 install -d
-m0755
$(1)/sbin
38 install -m0755
$(PKG_BUILD_DIR
)/robocfg
$(1)/sbin
/
41 $(eval
$(call BuildPackage
,robocfg
))