projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update spca5xx, old version is no longer on the website
[openwrt.git]
/
scripts
/
config
/
Makefile
diff --git
a/scripts/config/Makefile
b/scripts/config/Makefile
index
04e8330
..
6cdab2e
100644
(file)
--- a/
scripts/config/Makefile
+++ b/
scripts/config/Makefile
@@
-1,5
+1,5
@@
# ===========================================================================
# ===========================================================================
-#
Kernel
configuration targets
+#
OpenWrt
configuration targets
# These targets are used from top-level makefile
# ===========================================================================
# These targets are used from top-level makefile
# ===========================================================================
@@
-9,6
+9,15
@@
# Utilizes the lxdialog package
# object files used by all kconfig flavours
# Utilizes the lxdialog package
# object files used by all kconfig flavours
+
+# Platform specific fixes
+#
+# FreeBSD
+ifeq ($(shell uname -s),FreeBSD)
+export CFLAGS+=-I/usr/local/include
+export LDFLAGS+=-L/usr/local/lib -lintl
+endif
+
conf-objs := conf.o zconf.tab.o
mconf-objs := mconf.o zconf.tab.o
conf-objs := conf.o zconf.tab.o
mconf-objs := mconf.o zconf.tab.o
@@
-40,10
+49,10
@@
lex.zconf.c: zconf.l
zconf.hash.c: zconf.gperf
%.tab.c: %.y
zconf.hash.c: zconf.gperf
%.tab.c: %.y
- bison -l -b $* -p $(notdir $*) $< && cp $@ $@_shipped || cp $@_shipped $@
+ cp $@_shipped $@ || bison -l -b $* -p $(notdir $*) $<
lex.%.c: %.l
lex.%.c: %.l
- flex -L -P$(notdir $*) -o$@ $< && cp $@ $@_shipped || cp $@_shipped $@
+ cp $@_shipped $@ || flex -L -P$(notdir $*) -o$@ $<
%.hash.c: %.gperf
%.hash.c: %.gperf
-
gperf < $< > $@ && cp $@ $@_shipped || cp $@_shipped
$@
+
cp $@_shipped $@ || gperf < $< >
$@
This page took
0.021913 seconds
and
4
git commands to generate.