3 include $(TOPDIR
)/rules.mk
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/robocfg
11 include $(INCLUDE_DIR
)/package.mk
13 define Package
/robocfg
15 TITLE
:=BCM5325E
/536x switch configuration utility
16 DESCRIPTION
:=Broadcom BCM5325E
/536x switch configuration utility
20 mkdir
-p
$(PKG_BUILD_DIR
)
21 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
25 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
26 CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)" \
30 define Package
/robocfg
/install
31 install -d
-m0755
$(1)/sbin
32 install -m0755
$(PKG_BUILD_DIR
)/robocfg
$(1)/sbin
/
35 $(eval
$(call BuildPackage
,robocfg
))