Merge pull request #3550 from MilhouseVH/le10_use-procps-free

procps-ng: free from busybox doesn't match top
This commit is contained in:
Christian Hewitt 2019-06-12 06:29:43 +04:00 committed by GitHub
commit f4a95347aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1007,7 +1007,7 @@ CONFIG_FEATURE_MIME_CHARSET=""
#
# Process Utilities
#
CONFIG_FREE=y
# CONFIG_FREE is not set
CONFIG_FUSER=y
CONFIG_IOSTAT=y
CONFIG_KILL=y

View File

@ -17,12 +17,13 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
--disable-modern-top \
--enable-static"
PKG_MAKE_OPTS_TARGET="top/top proc/libprocps.la proc/libprocps.pc"
PKG_MAKE_OPTS_TARGET="free top/top proc/libprocps.la proc/libprocps.pc"
PKG_MAKEINSTALL_OPTS_TARGET="install-libLTLIBRARIES install-pkgconfigDATA"
makeinstall_target() {
mkdir -p $INSTALL/usr/bin
cp -P $PKG_BUILD/.$TARGET_NAME/free $INSTALL/usr/bin
cp -P $PKG_BUILD/.$TARGET_NAME/top/top $INSTALL/usr/bin
make DESTDIR=$SYSROOT_PREFIX -j1 $PKG_MAKEINSTALL_OPTS_TARGET