diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-22 11:46:36 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-22 11:46:47 +0200 |
commit | ffd45544bf96e31a9b591c181914ae2e27b890cf (patch) | |
tree | 5872a326a96adc5f396ef118d0a662324a508008 /package/busybox | |
parent | 9f5a4d90a835ee92b2844563110a4a9e12128cc8 (diff) |
use kmod for udev, fix busybox handling when modutils got disabled
Diffstat (limited to 'package/busybox')
-rw-r--r-- | package/busybox/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile index a97c1ae3d..4ba9c5f81 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= busybox PKG_VERSION:= 1.23.2 -PKG_RELEASE:= 3 +PKG_RELEASE:= 4 PKG_HASH:= 05a6f9e21aad8c098e388ae77de7b2361941afa7157ef74216703395b14e319a PKG_DESCR:= core utilities for embedded systems PKG_SECTION:= base/apps @@ -39,7 +39,20 @@ do-configure: for i in $$(grep ^BUSYBOX_DISABLE $(ADK_TOPDIR)/.config);do \ sym=$${i#BUSYBOX_DISABLE_}; \ symbol=$$(echo $$sym|sed -e "s#=y##"); \ - printf "# CONFIG_$${symbol} is not set\n" >> ${WRKBUILD}/.config; \ + case $$symbol in \ + KMOD) \ + printf "# CONFIG_MODINFO is not set\n" >> ${WRKBUILD}/.config; \ + printf "# CONFIG_MODPROBE_SMALL is not set\n" >> ${WRKBUILD}/.config; \ + printf "# CONFIG_INSMOD is not set\n" >> ${WRKBUILD}/.config; \ + printf "# CONFIG_RMMOD is not set\n" >> ${WRKBUILD}/.config; \ + printf "# CONFIG_LSMOD is not set\n" >> ${WRKBUILD}/.config; \ + printf "# CONFIG_MODPROBE is not set\n" >> ${WRKBUILD}/.config; \ + printf "# CONFIG_DEPMOD is not set\n" >> ${WRKBUILD}/.config; \ + ;; \ + *) \ + printf "# CONFIG_$${symbol} is not set\n" >> ${WRKBUILD}/.config; \ + ;; \ + esac \ done ifeq ($(ADK_TARGET_WITHOUT_MMU),y) echo 'CONFIG_NOMMU=y' >> ${WRKBUILD}/.config |