diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-02-16 14:32:22 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-02-16 14:32:22 +0000 |
commit | df0d82146069fd6a1093687c3884de623780a623 (patch) | |
tree | 264350640da956365d5761dc9b2da0aa94f4946a /package | |
parent | f9d7e9f0e7dc3a034c27bb52aea61f5c59c186ab (diff) | |
download | buildroot-novena-df0d82146069fd6a1093687c3884de623780a623.tar.gz buildroot-novena-df0d82146069fd6a1093687c3884de623780a623.zip |
- add skeleton to use busybox and mdev for a rather small skeleton
Diffstat (limited to 'package')
-rw-r--r-- | package/busybox/Config.in | 8 | ||||
-rw-r--r-- | package/busybox/busybox.mk | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/Config.in b/package/busybox/Config.in index f832d7121..9d9c1a1e9 100644 --- a/package/busybox/Config.in +++ b/package/busybox/Config.in @@ -74,3 +74,11 @@ config BR2_PACKAGE_BUSYBOX_HIDE_OTHERS Do not show packages in menuconfig that are potentially provided by busybox. +config BR2_PACKAGE_BUSYBOX_SKELETON + bool "use minimal target skeleton" + depends on BR2_PACKAGE_BUSYBOX + depends on !BR2_BUSYBOX_VERSION_1_0_1 + help + Use a minimal target skeleton. Make sure to select mdev + which is used to populate /dev/. + diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index 4fb3c16aa..dd2a5f62f 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -98,6 +98,10 @@ else $(SED) "s/^.*CONFIG_LFS.*/CONFIG_LFS=n/;" $(BUSYBOX_DIR)/.config $(SED) "s/^.*FDISK_SUPPORT_LARGE_DISKS.*/FDISK_SUPPORT_LARGE_DISKS=n/;" $(BUSYBOX_DIR)/.config endif +ifeq ($(BR2_PACKAGE_BUSYBOX_SKELETON),y) + # force mdev on + $(SED) "s/^.*CONFIG_MDEV.*/CONFIG_MDEV=y/" $(BUSYBOX_DIR)/.config +endif yes "" | $(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS="$(TARGET_CROSS)" -C $(BUSYBOX_DIR) oldconfig touch $@ |