X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2f006aa5e8a74e2dd224f5e9b90d36c79651fd66..160a33539f7deaabab5512b9a2a73ab1f9971026:/package/config/Makefile?ds=sidebyside diff --git a/package/config/Makefile b/package/config/Makefile index 455a33d23..846b04cbb 100644 --- a/package/config/Makefile +++ b/package/config/Makefile @@ -2,12 +2,14 @@ # # Copyright (C) 2002-2004 Erik Andersen +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