summaryrefslogtreecommitdiff
path: root/package/toybox/Makefile
diff options
context:
space:
mode:
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