diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-05-19 21:30:44 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-05-19 21:30:44 +0000 |
commit | 10406562aaf94a9fe3dbb872a01434286c66ad1b (patch) | |
tree | 21b4dd297810a8ca923d902f04b278cf1cf7d6cb /package/wol | |
parent | 5e9d738452c357dad5a2bb43289da82e6435c08d (diff) | |
download | upstream-10406562aaf94a9fe3dbb872a01434286c66ad1b.tar.gz upstream-10406562aaf94a9fe3dbb872a01434286c66ad1b.tar.bz2 upstream-10406562aaf94a9fe3dbb872a01434286c66ad1b.zip |
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/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/package/wol/Makefile b/package/wol/Makefile index b3339bb2a4..3a8811686e 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 |