diff options
| author | Nicolas Thill <nico@openwrt.org> | 2006-06-18 18:05:20 +0000 |
|---|---|---|
| committer | Nicolas Thill <nico@openwrt.org> | 2006-06-18 18:05:20 +0000 |
| commit | 52f8d5bdce1bce9fc1119c1674fd5be24453a22c (patch) | |
| tree | 6942b7366d21e272fa7b72f91dd15d938bf529a2 /openwrt/package/robocfg/Makefile | |
| parent | e5c5a14618e03b343d76315a2bd2edf6abe6056e (diff) | |
| download | mtk-20170518-52f8d5bdce1bce9fc1119c1674fd5be24453a22c.zip mtk-20170518-52f8d5bdce1bce9fc1119c1674fd5be24453a22c.tar.gz mtk-20170518-52f8d5bdce1bce9fc1119c1674fd5be24453a22c.tar.bz2 | |
move source files to src/.
SVN-Revision: 3993
Diffstat (limited to 'openwrt/package/robocfg/Makefile')
| -rw-r--r-- | openwrt/package/robocfg/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/openwrt/package/robocfg/Makefile b/openwrt/package/robocfg/Makefile index 81cf99a..49f6005 100644 --- a/openwrt/package/robocfg/Makefile +++ b/openwrt/package/robocfg/Makefile @@ -16,15 +16,20 @@ TITLE:=BCM5325E/536x switch configuration utility DESCRIPTION:=Broadcom BCM5325E/536x switch configuration utility endef +define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) + $(CP) ./src/* $(PKG_BUILD_DIR)/ +endef + define Build/Compile - $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/robocfg robocfg.c + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ + all endef define Package/robocfg/install install -d -m0755 $(1)/sbin install -m0755 $(PKG_BUILD_DIR)/robocfg $(1)/sbin/ - $(RSTRIP) $(1) - $(IPKG_BUILD) $(1) $(PACKAGE_DIR) endef $(eval $(call BuildPackage,robocfg)) |
