Skip to content

Commit

Permalink
Merge pull request #3031 from blocktrron/fix-host-double-build
Browse files Browse the repository at this point in the history
build: fix duplicate building of host-tools
  • Loading branch information
blocktrron authored Oct 22, 2023
2 parents be86299 + 6b22b74 commit 4606fe8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ $(LUA):

scripts/module_check.sh

[ -e openwrt/.config ] || $(OPENWRTMAKE) defconfig
$(GLUON_ENV) scripts/basic_openwrt_config.sh > openwrt/.config
$(OPENWRTMAKE) defconfig
$(OPENWRTMAKE) tools/install
$(OPENWRTMAKE) package/lua/host/compile

Expand Down
10 changes: 10 additions & 0 deletions scripts/basic_openwrt_config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

set -euo pipefail

echo "CONFIG_DEVEL=y"
if [ "$GLUON_AUTOREMOVE" != "0" ]; then
echo "CONFIG_AUTOREMOVE=y"
else
echo "# CONFIG_AUTOREMOVE is not set"
fi

0 comments on commit 4606fe8

Please sign in to comment.