Added httping
[openwrt.git] / package / config / Makefile
index 455a33d..846b04c 100644 (file)
@@ -2,12 +2,14 @@
 #
 # 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
 HOSTCFLAGS= -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
 # Ensure consistent sort order, 'gcc -print-search-dirs' behavior, etc.
 LC_ALL:= C
+CP:=cp -a
 
 
 all: ncurses conf mconf
@@ -77,16 +79,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.021335 seconds and 4 git commands to generate.