summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-08-02 13:36:20 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-08-02 13:36:20 +0000
commitb6c286e0af3e7c31da47c295c7500d3f44d0a8ce (patch)
tree35316aea5856450195c6c24ed801cf9da5c2f3ed
parent01ad421020f387b4090218e164ae4ae70b3f3399 (diff)
downloadmtk-20170518-b6c286e0af3e7c31da47c295c7500d3f44d0a8ce.zip
mtk-20170518-b6c286e0af3e7c31da47c295c7500d3f44d0a8ce.tar.gz
mtk-20170518-b6c286e0af3e7c31da47c295c7500d3f44d0a8ce.tar.bz2
FreeBSD fix to generate the menuconfig properly
SVN-Revision: 4396
-rw-r--r--openwrt/scripts/config/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/openwrt/scripts/config/Makefile b/openwrt/scripts/config/Makefile
index a731a40..6cdab2e 100644
--- a/openwrt/scripts/config/Makefile
+++ b/openwrt/scripts/config/Makefile
@@ -9,6 +9,15 @@
# 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