mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-30 02:31:46 +00:00
* Wireguard: bump tag to most recent since it breaks building on 5.4.y * Move rockchip current to 5.4.y * Move sunxi current to 5.4.y * Move meson64 to 5.4.y * Move odroidxu4 to 5.4.y and enable "current" targets * Enable missing target
15 lines
477 B
Diff
15 lines
477 B
Diff
diff --git a/Makefile b/Makefile
|
|
index b37d0e8..fc1b1b5 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -388,7 +388,9 @@ KCONFIG_CONFIG ?= .config
|
|
export KCONFIG_CONFIG
|
|
|
|
# SHELL used by kbuild
|
|
-CONFIG_SHELL := sh
|
|
+CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
|
+ else if [ -x /bin/bash ]; then echo /bin/bash; \
|
|
+ else echo sh; fi ; fi)
|
|
|
|
HOST_LFS_CFLAGS := $(shell getconf LFS_CFLAGS 2>/dev/null)
|
|
HOST_LFS_LDFLAGS := $(shell getconf LFS_LDFLAGS 2>/dev/null)
|