Skip to content

Instantly share code, notes, and snippets.

@Bonveio
Created August 29, 2024 18:48
Show Gist options
  • Select an option

  • Save Bonveio/fb1e62bf97087b85316b973a6e75b336 to your computer and use it in GitHub Desktop.

Select an option

Save Bonveio/fb1e62bf97087b85316b973a6e75b336 to your computer and use it in GitHub Desktop.
Busybox @ master commit 371fe9f71d445d18be28c82a2a6d82115c8af19d patch for /busybox/scripts/kconfig/lxdialog/Makefile
--- scripts/kconfig/lxdialog/Makefile 2024-08-30 00:00:00.877509501 +0800
+++ scripts/kconfig/lxdialog/Makefile 2024-08-30 00:00:00.806515827 +0800
@@ -12,7 +12,7 @@
PHONY += dochecklxdialog
$(obj)/dochecklxdialog:
- $(Q)$(CONFIG_SHELL) $(check-lxdialog) -check $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOST_LOADLIBES)
+ $(shell $(CONFIG_SHELL) $(check-lxdialog) -check $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOST_LOADLIBES))
hostprogs-y := lxdialog
always := $(hostprogs-y) dochecklxdialog
@Bonveio
Copy link
Author

Bonveio commented Aug 29, 2024

Busybox @ master commit 371fe9f71d445d18be28c82a2a6d82115c8af19d patch for /busybox/scripts/kconfig/lxdialog/Makefile

Bug from lxdialog Makefile that makes make menuconfig fail to run even with complete libraries/prerequisites to build the source.

to use:

git clone git://busybox.net/busybox
cd busybox
curl -LkO https://gist.githubusercontent.com/Bonveio/fb1e62bf97087b85316b973a6e75b336/raw/lxdialog.patch
patch -d scripts/kconfig/lxdialog -p3 < lxdialog.patch
## do test: make menuconfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment