Build brctl for Android
Test: build and run btcrl on device Change-Id: Ib8116a39a7c54bd3aa53b1ad5e81651aee07a03a
This commit is contained in:
parent
cec40ac80c
commit
9432e9ec2e
@ -49,7 +49,7 @@ CONFIG_BLKDISCARD=y
|
||||
CONFIG_BLKID=y
|
||||
CONFIG_BLOCKDEV=y
|
||||
# CONFIG_BOOTCHARTD is not set
|
||||
# CONFIG_BRCTL is not set
|
||||
CONFIG_BRCTL=y
|
||||
# CONFIG_BUNZIP2 is not set
|
||||
# CONFIG_BZCAT is not set
|
||||
CONFIG_CAL=y
|
||||
|
@ -209,6 +209,7 @@ device_srcs = [
|
||||
"toys/other/vconfig.c",
|
||||
"toys/other/vmstat.c",
|
||||
"toys/other/watch.c",
|
||||
"toys/pending/brctl.c",
|
||||
"toys/pending/getfattr.c",
|
||||
"toys/pending/lsof.c",
|
||||
"toys/pending/modprobe.c",
|
||||
@ -245,6 +246,7 @@ toybox_symlinks = [
|
||||
"base64",
|
||||
"basename",
|
||||
"blockdev",
|
||||
"brctl",
|
||||
"cal",
|
||||
"cat",
|
||||
"chattr",
|
||||
|
@ -72,8 +72,8 @@
|
||||
#define USE_BLOCKDEV(...) __VA_ARGS__
|
||||
#define CFG_BOOTCHARTD 0
|
||||
#define USE_BOOTCHARTD(...)
|
||||
#define CFG_BRCTL 0
|
||||
#define USE_BRCTL(...)
|
||||
#define CFG_BRCTL 1
|
||||
#define USE_BRCTL(...) __VA_ARGS__
|
||||
#define CFG_BUNZIP2 0
|
||||
#define USE_BUNZIP2(...)
|
||||
#define CFG_BZCAT 0
|
||||
|
Loading…
Reference in New Issue
Block a user