aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/Makefile
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
commit58de48975d267273625410449fe910229090aa07 (patch)
treeb334d7ef67239a3168fe82e0c0689ea0d35aaa16 /scripts/config/Makefile
parent8503e97d7e73c5dcb490fa37d3faa270ffb04627 (diff)
downloadupstream-58de48975d267273625410449fe910229090aa07.tar.gz
upstream-58de48975d267273625410449fe910229090aa07.tar.bz2
upstream-58de48975d267273625410449fe910229090aa07.zip
FreeBSD fix to generate the menuconfig properly
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4396 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/config/Makefile')
-rw-r--r--scripts/config/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/config/Makefile b/scripts/config/Makefile
index a731a40e7c..6cdab2e0e6 100644
--- a/scripts/config/Makefile
+++ b/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