summaryrefslogtreecommitdiffstats
path: root/package/wol
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-19 21:30:44 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-19 21:30:44 +0000
commit662991ad07bf30fd3883168b9974849855dd7cef (patch)
tree21b4dd297810a8ca923d902f04b278cf1cf7d6cb /package/wol
parente1689730e463183e1ebdb69ad780d3f3ae2b4c0e (diff)
Tweak package build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@978 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/wol')
-rw-r--r--package/wol/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/wol/Makefile b/package/wol/Makefile
index b3339bb2a..3a8811686 100644
--- a/package/wol/Makefile
+++ b/package/wol/Makefile
@@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,WOL,wol,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
+$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@@ -48,16 +48,16 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
);
- touch $(PKG_BUILD_DIR)/.configured
+ touch $@
-$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC)
+$(PKG_BUILD_DIR)/.built:
+ rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
+ CC=$(TARGET_CC) \
DESTDIR="$(PKG_INSTALL_DIR)" \
- install
- touch $(PKG_BUILD_DIR)/.built
+ all install
+ touch $@
$(IPKG_WOL):
install -m0755 -d $(IDIR_WOL)/usr/bin