Package/compile creates empty dir in build_dir

make[2]: Entering directory '/home/culex/OpenWRT/owrt1806/feeds/packages/utils/bonnie++'
touch /home/culex/OpenWRT/owrt1806/build_dir/target-mips_24kc_musl/bonnie++-1.97.3.1/.prepared_ebcbb070ab779d761024a35ada4eccc9_6664517399ebbbc92a37c5bb081b5c53_check
. /home/culex/OpenWRT/owrt1806/include/shell.sh; gzip -dc /home/culex/OpenWRT/owrt1806/dl/bonnie++-1.97.3.tgz | tar -C /home/culex/OpenWRT/owrt1806/build_dir/target-mips_24kc_musl/bonnie++-1.97.3.1/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/. /home/culex/OpenWRT/owrt1806/build_dir/target-mips_24kc_musl/bonnie++-1.97.3.1

in the makefile

PKG_VERSION:=1.97.3

:~/OpenWRT/owrt1806/build_dir/target-mips_24kc_musl$ ls -l bonnie++-1.97.3
bonnie++-1.97.3/   bonnie++-1.97.3.1/

I'm confused as the why its creating an empty directory of 1.97.3.1 and trying to apply patches in there while the archive extracts to 1.97.3. Why are 2 directories being created?

dunno how to delete the thread but figured it out
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).1

Not sure what Makefile you're referring to as the newest and to my knowledge broken version of bonnie++ is 1.79. You might also want to consider fio instead which is also in the repo.


I dont really know how to use git but 1.97.3 works just fine.