mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
4768a26047
commit
faa62ce085
@@ -150,7 +150,7 @@ comment "rtla needs a toolchain w/ threads, dynamic library"
|
||||
config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS
|
||||
bool"selftests"
|
||||
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_TOOLCHAIN_HEADERS_AT_LEAST_3_14 # util-linux schedutils
|
||||
select BR2_PACKAGE_LINUX_TOOLS
|
||||
|
||||
@@ -75,11 +75,13 @@ config BR2_PACKAGE_UTIL_LINUX_AGETTY
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_BFS
|
||||
bool "bfs"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
SCO bfs filesystem support
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_CAL
|
||||
bool "cal"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
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
|
||||
bool "chmem"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Sets a particular size or range of memory online or offline
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_CRAMFS
|
||||
bool "cramfs utilities"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Utilities for compressed ROM file system (fsck.cramfs,
|
||||
@@ -121,11 +125,13 @@ config BR2_PACKAGE_UTIL_LINUX_EJECT
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_FALLOCATE
|
||||
bool "fallocate"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Preallocate space to a file
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_FDFORMAT
|
||||
bool "fdformat"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Low-level format a floppy disk
|
||||
|
||||
@@ -140,26 +146,31 @@ config BR2_PACKAGE_UTIL_LINUX_FSCK
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_HARDLINK
|
||||
bool "hardlink"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Consolidate duplicate files via hardlinks
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_HWCLOCK
|
||||
bool "hwclock"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Query or set the hardware clock (RTC)
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_IPCMK
|
||||
bool "ipcmk"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Make various IPC resources
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_IPCRM
|
||||
bool "ipcrm"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Remove certain IPC resources
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_IPCS
|
||||
bool "ipcs"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Show information on IPC facilities
|
||||
|
||||
@@ -173,11 +184,13 @@ config BR2_PACKAGE_UTIL_LINUX_IRQTOP
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_KILL
|
||||
bool "kill"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Send a signal to a process
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_LAST
|
||||
bool "last"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Show a listing of last logged in users
|
||||
|
||||
@@ -188,6 +201,7 @@ config BR2_PACKAGE_UTIL_LINUX_LINE
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_LOGGER
|
||||
bool "logger"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Enter messages into the system log
|
||||
|
||||
@@ -246,6 +260,7 @@ config BR2_PACKAGE_UTIL_LINUX_LSMEM
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_MESG
|
||||
bool "mesg"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Control write access to your terminal
|
||||
|
||||
@@ -288,6 +303,7 @@ config BR2_PACKAGE_UTIL_LINUX_NEWGRP
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_NOLOGIN
|
||||
bool "nologin"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Politely refuse a login
|
||||
|
||||
@@ -333,6 +349,7 @@ comment "raw needs a toolchain w/ headers < 5.14"
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_RENAME
|
||||
bool "rename"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
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
|
||||
bool "scheduling utilities"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
|
||||
help
|
||||
Scheduling utilities (chrt, ionice, taskset, uclampset)
|
||||
|
||||
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
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_SETPRIV
|
||||
bool "setpriv"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBCAP_NG
|
||||
help
|
||||
Run a program with different Linux privilege settings
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_SETTERM
|
||||
bool "setterm"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
Set terminal attributes
|
||||
@@ -417,6 +438,7 @@ config BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_TUNELP
|
||||
bool "tunelp"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
Set various parameters for the lp device
|
||||
@@ -435,6 +457,7 @@ config BR2_PACKAGE_UTIL_LINUX_UNSHARE
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_UTMPDUMP
|
||||
bool "utmpdump"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Dump UTMP and WTMP files in raw format
|
||||
|
||||
@@ -489,6 +512,7 @@ config BR2_PACKAGE_UTIL_LINUX_WDCTL
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_WRITE
|
||||
bool "write"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Send a message to another user
|
||||
|
||||
|
||||
Reference in New Issue
Block a user