projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Makefile, thanks to Stephen Rose, corrected compile-time dependency
[openwrt.git]
/
openwrt
/
package
/
robocfg
/
Makefile
diff --git
a/openwrt/package/robocfg/Makefile
b/openwrt/package/robocfg/Makefile
index
bc68f89
..
54daea8
100644
(file)
--- a/
openwrt/package/robocfg/Makefile
+++ b/
openwrt/package/robocfg/Makefile
@@
-13,15
+13,18
@@
include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,ROBOCFG,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.prepared:
$(eval $(call PKG_template,ROBOCFG,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.prepared:
- mkdir -p $@
+ mkdir -p $(PKG_BUILD_DIR)
+ touch $@
+
+$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
touch $@
$(PKG_BUILD_DIR)/.built:
- $(TARGET_CC) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
- $(STRIP) $(PKG_BUILD_DIR)/robocfg
+ $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
touch $@
$(IPKG_ROBOCFG):
touch $@
$(IPKG_ROBOCFG):
- mkdir -p $(IDIR_ROBOCFG)/sbin
- install -m 0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/robocfg
+ install -d -m0755 $(IDIR_ROBOCFG)/sbin
+ install -m0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/
+ $(RSTRIP) $(IDIR_ROBOCFG)
$(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
$(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
This page took
0.019844 seconds
and
4
git commands to generate.