mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/util-linux: add dependency to BR2_USE_MMU when needed
Upstream added fork() to lib/canonicalize.c in version 2.34[1]e101a9eb0fbut the resulting build errors on non-mmu archs were most likely masked by previous build errors which are already fixed. lib/canonicalize.c as part of libcommon is widely used so we need to add the dependency to many Config.in options. For an overview about its usage see output/build/util-linux-2.41.2$ grep -r "LDADD = \$(LDADD) libcommon.la" * | grep Makemodule | cut -d ":" -f 2 | sort Fixes: https://autobuild.buildroot.net/results/34b/34b1f733fdfb5c5e30e631576f875398435ad115/ [1] Added to buildroot with commitbb216ed060in 2019. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commitfaa62ce085) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
864cb60a89
commit
a3d197289b
@@ -150,7 +150,7 @@ comment "rtla needs a toolchain w/ threads, dynamic library"
|
|||||||
config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS
|
config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS
|
||||||
bool"selftests"
|
bool"selftests"
|
||||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash
|
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash
|
||||||
depends on BR2_USE_MMU # bash
|
depends on BR2_USE_MMU # bash, util-linux-schedutils
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 # util-linux schedutils
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 # util-linux schedutils
|
||||||
select BR2_PACKAGE_LINUX_TOOLS
|
select BR2_PACKAGE_LINUX_TOOLS
|
||||||
|
|||||||
@@ -75,11 +75,13 @@ config BR2_PACKAGE_UTIL_LINUX_AGETTY
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_BFS
|
config BR2_PACKAGE_UTIL_LINUX_BFS
|
||||||
bool "bfs"
|
bool "bfs"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
SCO bfs filesystem support
|
SCO bfs filesystem support
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_CAL
|
config BR2_PACKAGE_UTIL_LINUX_CAL
|
||||||
bool "cal"
|
bool "cal"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Display a calendar, or some part of it
|
Display a calendar, or some part of it
|
||||||
|
|
||||||
@@ -100,11 +102,13 @@ comment "chfn/chsh needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_CHMEM
|
config BR2_PACKAGE_UTIL_LINUX_CHMEM
|
||||||
bool "chmem"
|
bool "chmem"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Sets a particular size or range of memory online or offline
|
Sets a particular size or range of memory online or offline
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_CRAMFS
|
config BR2_PACKAGE_UTIL_LINUX_CRAMFS
|
||||||
bool "cramfs utilities"
|
bool "cramfs utilities"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
select BR2_PACKAGE_ZLIB
|
select BR2_PACKAGE_ZLIB
|
||||||
help
|
help
|
||||||
Utilities for compressed ROM file system (fsck.cramfs,
|
Utilities for compressed ROM file system (fsck.cramfs,
|
||||||
@@ -121,11 +125,13 @@ config BR2_PACKAGE_UTIL_LINUX_EJECT
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_FALLOCATE
|
config BR2_PACKAGE_UTIL_LINUX_FALLOCATE
|
||||||
bool "fallocate"
|
bool "fallocate"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Preallocate space to a file
|
Preallocate space to a file
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_FDFORMAT
|
config BR2_PACKAGE_UTIL_LINUX_FDFORMAT
|
||||||
bool "fdformat"
|
bool "fdformat"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Low-level format a floppy disk
|
Low-level format a floppy disk
|
||||||
|
|
||||||
@@ -140,26 +146,31 @@ config BR2_PACKAGE_UTIL_LINUX_FSCK
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_HARDLINK
|
config BR2_PACKAGE_UTIL_LINUX_HARDLINK
|
||||||
bool "hardlink"
|
bool "hardlink"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Consolidate duplicate files via hardlinks
|
Consolidate duplicate files via hardlinks
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_HWCLOCK
|
config BR2_PACKAGE_UTIL_LINUX_HWCLOCK
|
||||||
bool "hwclock"
|
bool "hwclock"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Query or set the hardware clock (RTC)
|
Query or set the hardware clock (RTC)
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_IPCMK
|
config BR2_PACKAGE_UTIL_LINUX_IPCMK
|
||||||
bool "ipcmk"
|
bool "ipcmk"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Make various IPC resources
|
Make various IPC resources
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_IPCRM
|
config BR2_PACKAGE_UTIL_LINUX_IPCRM
|
||||||
bool "ipcrm"
|
bool "ipcrm"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Remove certain IPC resources
|
Remove certain IPC resources
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_IPCS
|
config BR2_PACKAGE_UTIL_LINUX_IPCS
|
||||||
bool "ipcs"
|
bool "ipcs"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Show information on IPC facilities
|
Show information on IPC facilities
|
||||||
|
|
||||||
@@ -173,11 +184,13 @@ config BR2_PACKAGE_UTIL_LINUX_IRQTOP
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_KILL
|
config BR2_PACKAGE_UTIL_LINUX_KILL
|
||||||
bool "kill"
|
bool "kill"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Send a signal to a process
|
Send a signal to a process
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_LAST
|
config BR2_PACKAGE_UTIL_LINUX_LAST
|
||||||
bool "last"
|
bool "last"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Show a listing of last logged in users
|
Show a listing of last logged in users
|
||||||
|
|
||||||
@@ -188,6 +201,7 @@ config BR2_PACKAGE_UTIL_LINUX_LINE
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_LOGGER
|
config BR2_PACKAGE_UTIL_LINUX_LOGGER
|
||||||
bool "logger"
|
bool "logger"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Enter messages into the system log
|
Enter messages into the system log
|
||||||
|
|
||||||
@@ -246,6 +260,7 @@ config BR2_PACKAGE_UTIL_LINUX_LSMEM
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_MESG
|
config BR2_PACKAGE_UTIL_LINUX_MESG
|
||||||
bool "mesg"
|
bool "mesg"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Control write access to your terminal
|
Control write access to your terminal
|
||||||
|
|
||||||
@@ -288,6 +303,7 @@ config BR2_PACKAGE_UTIL_LINUX_NEWGRP
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_NOLOGIN
|
config BR2_PACKAGE_UTIL_LINUX_NOLOGIN
|
||||||
bool "nologin"
|
bool "nologin"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Politely refuse a login
|
Politely refuse a login
|
||||||
|
|
||||||
@@ -333,6 +349,7 @@ comment "raw needs a toolchain w/ headers < 5.14"
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_RENAME
|
config BR2_PACKAGE_UTIL_LINUX_RENAME
|
||||||
bool "rename"
|
bool "rename"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Rename files
|
Rename files
|
||||||
|
|
||||||
@@ -366,21 +383,25 @@ comment "runuser needs a uClibc or glibc toolchain w/ wchar, locale, dynamic lib
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS
|
config BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS
|
||||||
bool "scheduling utilities"
|
bool "scheduling utilities"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
|
||||||
help
|
help
|
||||||
Scheduling utilities (chrt, ionice, taskset, uclampset)
|
Scheduling utilities (chrt, ionice, taskset, uclampset)
|
||||||
|
|
||||||
comment "scheduling utilities need a toolchain w/ headers >= 3.14"
|
comment "scheduling utilities need a toolchain w/ headers >= 3.14"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_SETPRIV
|
config BR2_PACKAGE_UTIL_LINUX_SETPRIV
|
||||||
bool "setpriv"
|
bool "setpriv"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
select BR2_PACKAGE_LIBCAP_NG
|
select BR2_PACKAGE_LIBCAP_NG
|
||||||
help
|
help
|
||||||
Run a program with different Linux privilege settings
|
Run a program with different Linux privilege settings
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_SETTERM
|
config BR2_PACKAGE_UTIL_LINUX_SETTERM
|
||||||
bool "setterm"
|
bool "setterm"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
select BR2_PACKAGE_NCURSES
|
select BR2_PACKAGE_NCURSES
|
||||||
help
|
help
|
||||||
Set terminal attributes
|
Set terminal attributes
|
||||||
@@ -417,6 +438,7 @@ config BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_TUNELP
|
config BR2_PACKAGE_UTIL_LINUX_TUNELP
|
||||||
bool "tunelp"
|
bool "tunelp"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
select BR2_PACKAGE_NCURSES
|
select BR2_PACKAGE_NCURSES
|
||||||
help
|
help
|
||||||
Set various parameters for the lp device
|
Set various parameters for the lp device
|
||||||
@@ -435,6 +457,7 @@ config BR2_PACKAGE_UTIL_LINUX_UNSHARE
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_UTMPDUMP
|
config BR2_PACKAGE_UTIL_LINUX_UTMPDUMP
|
||||||
bool "utmpdump"
|
bool "utmpdump"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Dump UTMP and WTMP files in raw format
|
Dump UTMP and WTMP files in raw format
|
||||||
|
|
||||||
@@ -489,6 +512,7 @@ config BR2_PACKAGE_UTIL_LINUX_WDCTL
|
|||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_WRITE
|
config BR2_PACKAGE_UTIL_LINUX_WRITE
|
||||||
bool "write"
|
bool "write"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
Send a message to another user
|
Send a message to another user
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user