mac80211: fix typo and make broken options depend on BROKEN
[openwrt.git] / package / uboot-envtools / patches / 002-makefile.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -21,12 +21,10 @@
4 # MA 02111-1307 USA
5 #
6
7 -include $(TOPDIR)/config.mk
8 -
9 SRCS := $(obj)crc32.c fw_env.c fw_env_main.c
10 HEADERS := fw_env.h
11
12 -CPPFLAGS := -Wall -DUSE_HOSTCC -I$(SRCTREE)/include
13 +CPPFLAGS := -Wall $(CFLAGS)
14
15 ifeq ($(MTD_VERSION),old)
16 CPPFLAGS += -DMTD_OLD
17 @@ -35,18 +33,7 @@ endif
18 all: $(obj)fw_printenv
19
20 $(obj)fw_printenv: $(SRCS) $(HEADERS)
21 - $(CROSS_COMPILE)gcc $(CPPFLAGS) $(SRCS) -o $(obj)fw_printenv
22 + $(CC) $(CPPFLAGS) $(SRCS) -o $(obj)fw_printenv
23
24 clean:
25 rm -f $(obj)fw_printenv $(obj)crc32.c
26 -
27 -$(obj)crc32.c:
28 - ln -s $(src)../../lib_generic/crc32.c $(obj)crc32.c
29 -
30 -#########################################################################
31 -
32 -include $(TOPDIR)/rules.mk
33 -
34 -sinclude $(obj).depend
35 -
36 -#########################################################################
This page took 0.05145 seconds and 5 git commands to generate.