X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8f4b79da58ea9faa336db9111a50ca484f1ed76f..06ae601c3af0502494e2120e8f2dd00e264e2499:/package/olsrd/Makefile diff --git a/package/olsrd/Makefile b/package/olsrd/Makefile index 0060fd9c7..ffd4b6143 100644 --- a/package/olsrd/Makefile +++ b/package/olsrd/Makefile @@ -42,21 +42,20 @@ $(eval $(call PKG_mod_template,OLSRD_MOD_POWER,power)) $(eval $(call PKG_mod_template,OLSRD_MOD_SECURE,secure)) $(PKG_BUILD_DIR)/.configured: - touch $(PKG_BUILD_DIR)/.configured + touch $@ $(PKG_BUILD_DIR)/.built: + rm -rf $(PKG_INSTALL_DIR) + mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C "$(PKG_BUILD_DIR)" \ $(TARGET_CONFIGURE_OPTS) \ + NODEBUG=1 \ OFLAGS="$(TARGET_CFLAGS)" \ OS="linux" \ - all libs - rm -rf $(PKG_INSTALL_DIR) - mkdir -p $(PKG_INSTALL_DIR) - $(MAKE) -C "$(PKG_BUILD_DIR)" \ INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \ - OS="linux" \ - install install_libs - touch $(PKG_BUILD_DIR)/.built + STRIP="/bin/true" \ + all libs install install_libs + touch $@ $(IPKG_OLSRD): install -d -m0755 $(IDIR_OLSRD)/etc