summaryrefslogtreecommitdiff
path: root/package/grub/Makefile
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-29 16:27:00 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-29 16:27:00 +0000
commit1c12bde22c82d7ddaf9656785449999b2e994dd0 (patch)
tree7fbdcae865b89def27590e9688f0269902bdedcf /package/grub/Makefile
parent0594958cad349a3acbb8430c549fb1358ba87836 (diff)
package/grub: fix compile issue under FreeBSD 8.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23156 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/grub/Makefile')
-rw-r--r--package/grub/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/grub/Makefile b/package/grub/Makefile
index 426b9c3673..f3dd171141 100644
--- a/package/grub/Makefile
+++ b/package/grub/Makefile
@@ -37,6 +37,10 @@ MY_CONFIGURE_ARGS += \
--disable-hercules \
--without-curses \
+ifeq ($(HOST_OS),FreeBSD)
+ MY_CONFIGURE_ARGS += --build=$(GNU_HOST_NAME) --host=$(GNU_TARGET_NAME) --target=$(GNU_TARGET_NAME)
+endif
+
MY_CONFIGURE_VARS += \
grub_cv_prog_objcopy_absolute=yes \