default to gcc 3.4.4 for brcm-2.4 because of weird kernel problems
[openwrt.git] / package / config / Makefile
index 455a33d..9e841d9 100644 (file)
@@ -2,6 +2,7 @@
 #
 # Copyright (C) 2002-2004 Erik Andersen <andersen@codepoet.org>
 
+CP=cp -fpR
 
 # Select the compiler needed to build binaries for your development system
 HOSTCC    = gcc
@@ -77,16 +78,16 @@ lex.zconf.o: lex.zconf.c $(SHARED_DEPS)
        $(HOSTCC) $(HOSTCFLAGS) -I. -c $< -o $@
 
 lex.zconf.c: lex.zconf.c_shipped
-       cp lex.zconf.c_shipped lex.zconf.c
+       $(CP) lex.zconf.c_shipped lex.zconf.c
 
 zconf.tab.o: zconf.tab.c lex.zconf.c confdata.c expr.c symbol.c menu.c $(SHARED_DEPS)
        $(HOSTCC) $(HOSTCFLAGS) -I. -c $< -o $@
 
 zconf.tab.c: zconf.tab.c_shipped
-       cp zconf.tab.c_shipped zconf.tab.c
+       $(CP) zconf.tab.c_shipped zconf.tab.c
 
 zconf.tab.h: zconf.tab.h_shipped
-       cp zconf.tab.h_shipped zconf.tab.h
+       $(CP) zconf.tab.h_shipped zconf.tab.h
 endif
 
 .PHONY: ncurses
This page took 0.026095 seconds and 4 git commands to generate.