Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/scripts/kconfig/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 17  menuconfig: $(obj)/mconf Line 17  menuconfig: $(obj)/mconf
17  config: $(obj)/conf  config: $(obj)/conf
18   $< Config.in   $< Config.in
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    
35  oldconfig: $(obj)/conf  oldconfig: $(obj)/conf
36   $< -o Config.in   $< -o Config.in
37     $(MTIME_IS_COARSE) && sleep 1
38    
39  silentoldconfig: $(obj)/conf  silentoldconfig: $(obj)/conf
40   $< -s Config.in   $< -s Config.in
41     $(MTIME_IS_COARSE) && sleep 1
42    
43  update-po-config: $(obj)/kxgettext  update-po-config: $(obj)/kxgettext
44   xgettext --default-domain=linux \   xgettext --default-domain=linux \
# Line 46  PHONY += randconfig allyesconfig allnoco Line 63  PHONY += randconfig allyesconfig allnoco
63    
64  randconfig: $(obj)/conf  randconfig: $(obj)/conf
65   $< -r Config.in   $< -r Config.in
66     $(MTIME_IS_COARSE) && sleep 1
67    
68  allyesconfig: $(obj)/conf  allyesconfig: $(obj)/conf
69   $< -y Config.in   $< -y Config.in
70     $(MTIME_IS_COARSE) && sleep 1
71    
72  allnoconfig: $(obj)/conf  allnoconfig: $(obj)/conf
73   $< -n Config.in   $< -n Config.in
74     $(MTIME_IS_COARSE) && sleep 1
75    
76  allmodconfig: $(obj)/conf  allmodconfig: $(obj)/conf
77   $< -m Config.in   $< -m Config.in
78     $(MTIME_IS_COARSE) && sleep 1
79    
80  defconfig: $(obj)/conf  defconfig: $(obj)/conf
81  ifeq ($(KBUILD_DEFCONFIG),)  ifeq ($(KBUILD_DEFCONFIG),)
# Line 63  else Line 84  else
84   @echo *** Default configuration is based on '$(KBUILD_DEFCONFIG)'   @echo *** Default configuration is based on '$(KBUILD_DEFCONFIG)'
85   $(Q)$< -D $(KBUILD_DEFCONFIG) Config.in   $(Q)$< -D $(KBUILD_DEFCONFIG) Config.in
86  endif  endif
87     $(MTIME_IS_COARSE) && sleep 1
88    
89  %_defconfig: $(obj)/conf  %_defconfig: $(obj)/conf
90   $(Q)$< -D $@ Config.in   $(Q)$< -D $@ Config.in
91     $(MTIME_IS_COARSE) && sleep 1
92    
93  # Help text used by make help  # Help text used by make help
94  help:  help:

Legend:
Removed from v.983  
changed lines
  Added in v.984