summaryrefslogtreecommitdiff
path: root/package/toybox/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-04-08 16:24:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-04-08 16:24:13 +0200
commit7be4de653cf50d82cbe3bd2252f11d39136ce65e (patch)
treef32b215877f668e55be2bd1f29cefd22e0b04a25 /package/toybox/Makefile
parent9d76a19f3e27242158bf1637108f698bcfba02f1 (diff)
toybox: add init and toysh configuration for testing
Diffstat (limited to 'package/toybox/Makefile')
-rw-r--r--package/toybox/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/toybox/Makefile b/package/toybox/Makefile
index 9ab6d4d91..9c54468eb 100644
--- a/package/toybox/Makefile
+++ b/package/toybox/Makefile
@@ -24,11 +24,16 @@ XAKE_FLAGS+= CC="gcc" V=1 PREFIX="$(WRKINST)"
do-configure:
-rm $(WRKBUILD)/toys/other/swap*.c
+ -rm $(WRKBUILD)/toys/other/gpiod.c
+ -rm $(WRKBUILD)/toys/other/lsattr.c
+ -rm $(WRKBUILD)/toys/other/nsenter.c
-rm $(WRKBUILD)/toys/posix/getconf.c
-rm $(WRKBUILD)/toys/posix/iconv.c
- cd $(WRKBUILD); CC="gcc" PATH='$(HOST_PATH)' $(MAKE) defconfig
+ cp ./files/config $(WRKBUILD)/.config
toybox-install:
$(CP) $(WRKINST)/* $(IDIR_TOYBOX)/
+ $(INSTALL_DIR) $(IDIR_TOYBOX)/etc
+ $(CP) ./files/inittab $(IDIR_TOYBOX)/etc
include $(ADK_TOPDIR)/mk/pkg-bottom.mk