Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/scripts/kconfig/Makefile
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/scripts/kconfig/Makefile
r1765 r2725 18 18 $< Config.in 19 19 20 # Mtime granularity problem. 21 # It was observed that these commands: 22 # make allnoconfig; sed -i -e '/CONFIG_TRUE/s/.*/CONFIG_TRUE=y/' .config; make 23 # sometimes produce busybox with "true" applet still disabled. 24 # This is caused by .config updated by sed having mtime which is still 25 # equal to (not bigger than) include/autoconf.h's mtime, 26 # and thus 2nd make does not regenerate include/autoconf.h. 27 # Waiting for 1 second after non-interactive "make XXXXconfig" 28 # prevents this from happening. 29 # 30 # We'd like to detect whether filesystem we are on has coarse mtimes, 31 # but can't do it yet, bbox ls hasn't got --full-time. 32 #MTIME_IS_COARSE:=@ls --full-time -ld | grep -F .000 >/dev/null 33 MTIME_IS_COARSE:=@true 34 20 35 oldconfig: $(obj)/conf 21 36 $< -o Config.in 37 $(MTIME_IS_COARSE) && sleep 1 22 38 23 39 silentoldconfig: $(obj)/conf 24 40 $< -s Config.in 41 $(MTIME_IS_COARSE) && sleep 1 25 42 26 43 update-po-config: $(obj)/kxgettext … … 47 64 randconfig: $(obj)/conf 48 65 $< -r Config.in 66 $(MTIME_IS_COARSE) && sleep 1 49 67 50 68 allyesconfig: $(obj)/conf 51 69 $< -y Config.in 70 $(MTIME_IS_COARSE) && sleep 1 52 71 53 72 allnoconfig: $(obj)/conf 54 73 $< -n Config.in 74 $(MTIME_IS_COARSE) && sleep 1 55 75 56 76 allmodconfig: $(obj)/conf 57 77 $< -m Config.in 78 $(MTIME_IS_COARSE) && sleep 1 58 79 59 80 defconfig: $(obj)/conf … … 64 85 $(Q)$< -D $(KBUILD_DEFCONFIG) Config.in 65 86 endif 87 $(MTIME_IS_COARSE) && sleep 1 66 88 67 89 %_defconfig: $(obj)/conf 68 90 $(Q)$< -D $@ Config.in 91 $(MTIME_IS_COARSE) && sleep 1 69 92 70 93 # Help text used by make help … … 118 141 subdir- += lxdialog 119 142 120 # Needed for systems without gettext 121 KBUILD_HAVE_NLS := $(shell \ 122 if echo "\#include <libintl.h>" | $(HOSTCC) $(HOSTCFLAGS) -E - > /dev/null 2>&1 ; \ 123 then echo yes ; \ 124 else echo no ; fi) 125 ifeq ($(KBUILD_HAVE_NLS),no) 126 HOSTCFLAGS += -DKBUILD_NO_NLS 127 endif 143 # Add environment specific flags 144 HOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(srctree)/$(src)/check.sh $(HOSTCC) $(HOSTCFLAGS)) 128 145 129 146 # generated files seem to need this to find local include files
Note:
See TracChangeset
for help on using the changeset viewer.