mirror of
https://dev.iopsys.eu/iopsys/iopsyswrt.git
synced 2025-12-20 00:52:33 +08:00
This reverts commit 5922d022ea.
Having .git in the tarballs and thus build-dirs causes more problems
than it solves with the current architecture of OpenWrt the we live
with.
* hash of tarball is no longer reproducible
* wrong hash of tarball leads to re-downloading on every build unless
PKG_HASH:=skip is specified (unfeasible for all packages and breaking
security).
* tarball is bigger and takes longer to compress
* doing any development in the build-dir is risky, because the
build system can nuke that directory at any time, e.g. when files in
package directory are changed or a dependency has changed.
For this use case see:
https://openwrt.org/docs/guide-developer/packages#working_on_local_application_source
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>