Changeset 259 for floppyfw/Makefile

Show
Ignore:
Timestamp:
01/18/09 14:12:42 (3 years ago)
Author:
root
Message:

About time to commit.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • floppyfw/Makefile

    r251 r259  
    107107 
    108108 
    109 .PHONY: all world clean dirclean distclean source $(TARGETS) \ 
     109.PHONY: all world clean dirclean distclean source veryclean $(TARGETS) \ 
    110110        $(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \ 
    111111        $(TARGETS_SOURCE_CONFIGURED) $(TARGETS_MENUCONFIG) \ 
     
    175175        rm -rf $(BUILD_DIR) $(LINUX_KERNEL) $(IMAGE) 
    176176 
     177veryclean: 
     178        $(RM) -r $(BUILD_DIR) 
     179        # Dangerous.. 
     180        $(RM) -r floppy* 
     181 
    177182sourceball: 
    178183        rm -rf $(BUILD_DIR) 
     
    191196# --------------------------------------------------------------------------- 
    192197 
     198HOSTCC=/bin/gcc 
     199export HOSTCC 
    193200$(CONFIG)/conf: 
    194         $(MAKE) -C $(CONFIG) conf 
     201        @mkdir -p $(CONFIG)/buildroot-config 
     202        $(MAKE) CC=$(HOSTCC) -C $(CONFIG) conf 
    195203        -if [ ! -f .config ] ; then \ 
    196204                cp $(CONFIG_DEFCONFIG) .config; \ 
    197205        fi 
    198206$(CONFIG)/mconf: 
    199         $(MAKE) -C $(CONFIG) ncurses conf mconf 
     207        @mkdir -p $(CONFIG)/buildroot-config 
     208        $(MAKE) CC=$(HOSTCC) -C $(CONFIG) conf mconf 
    200209        -if [ ! -f .config ] ; then \ 
    201210                cp $(CONFIG_DEFCONFIG) .config; \ 
     
    257266 
    258267.PHONY: dummy subdirs release distclean clean config oldconfig \ 
    259         menuconfig tags check test depend defconfig 
    260  
    261  
     268        menuconfig tags check test depend defconfig veryclean 
     269 
     270