Ignore:
Timestamp:
Feb 25, 2011, 9:26:54 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi-busybox/scripts/kconfig/Makefile

    r1765 r2725  
    1818    $< Config.in
    1919
     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
     33MTIME_IS_COARSE:=@true
     34
    2035oldconfig: $(obj)/conf
    2136    $< -o Config.in
     37    $(MTIME_IS_COARSE) && sleep 1
    2238
    2339silentoldconfig: $(obj)/conf
    2440    $< -s Config.in
     41    $(MTIME_IS_COARSE) && sleep 1
    2542
    2643update-po-config: $(obj)/kxgettext
     
    4764randconfig: $(obj)/conf
    4865    $< -r Config.in
     66    $(MTIME_IS_COARSE) && sleep 1
    4967
    5068allyesconfig: $(obj)/conf
    5169    $< -y Config.in
     70    $(MTIME_IS_COARSE) && sleep 1
    5271
    5372allnoconfig: $(obj)/conf
    5473    $< -n Config.in
     74    $(MTIME_IS_COARSE) && sleep 1
    5575
    5676allmodconfig: $(obj)/conf
    5777    $< -m Config.in
     78    $(MTIME_IS_COARSE) && sleep 1
    5879
    5980defconfig: $(obj)/conf
     
    6485    $(Q)$< -D $(KBUILD_DEFCONFIG) Config.in
    6586endif
     87    $(MTIME_IS_COARSE) && sleep 1
    6688
    6789%_defconfig: $(obj)/conf
    6890    $(Q)$< -D $@ Config.in
     91    $(MTIME_IS_COARSE) && sleep 1
    6992
    7093# Help text used by make help
     
    118141subdir- += lxdialog
    119142
    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
     144HOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(srctree)/$(src)/check.sh $(HOSTCC) $(HOSTCFLAGS))
    128145
    129146# generated files seem to need this to find local include files
Note: See TracChangeset for help on using the changeset viewer.