freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | # $Id: Makefile 2380 2005-11-07 17:52:28Z nbd $
|
|---|
| 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 | DISTFILES:=
|
|---|
| 12 | include $(TOPDIR)/package/rules.mk
|
|---|
| 13 |
|
|---|
| 14 | $(eval $(call PKG_template,ROBOCFG,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 15 |
|
|---|
| 16 | $(PKG_BUILD_DIR)/.prepared:
|
|---|
| 17 | mkdir -p $(PKG_BUILD_DIR)
|
|---|
| 18 | touch $@
|
|---|
| 19 |
|
|---|
| 20 | $(PKG_BUILD_DIR)/.configured:
|
|---|
| 21 | touch $@
|
|---|
| 22 |
|
|---|
| 23 | $(PKG_BUILD_DIR)/.built:
|
|---|
| 24 | $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
|
|---|
| 25 | touch $@
|
|---|
| 26 |
|
|---|
| 27 | $(IPKG_ROBOCFG):
|
|---|
| 28 | install -d -m0755 $(IDIR_ROBOCFG)/sbin
|
|---|
| 29 | install -m0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/
|
|---|
| 30 | $(RSTRIP) $(IDIR_ROBOCFG)
|
|---|
| 31 | $(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.