X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/4f0f8f8e35f4728727995f84949bdc0f4d8d48b3..86c25dfca03b9311e74493b50dc1985451b6e615:/openwrt/package/nfs-server/Makefile?ds=sidebyside diff --git a/openwrt/package/nfs-server/Makefile b/openwrt/package/nfs-server/Makefile index 1f72ddfca..29b6f08ba 100644 --- a/openwrt/package/nfs-server/Makefile +++ b/openwrt/package/nfs-server/Makefile @@ -22,6 +22,8 @@ $(PKG_BUILD_DIR)/.configured: (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + CPPFLAGS="-I$(STAGING_DIR)/usr/include" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ @@ -43,11 +45,11 @@ $(PKG_BUILD_DIR)/.configured: $(DISABLE_LARGEFILE) \ $(DISABLE_NLS) \ ); - touch $(PKG_BUILD_DIR)/.configured + touch $@ $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(PKG_BUILD_DIR) - touch $(PKG_BUILD_DIR)/.built + touch $@ $(IPKG_NFS_SERVER): install -d -m0755 $(IDIR_NFS_SERVER)/etc