aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-09-29 16:27:00 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-09-29 16:27:00 +0000
commitf28c03f5306ab44caf2fd8dbf81f60c4e452ac06 (patch)
tree7fbdcae865b89def27590e9688f0269902bdedcf /package
parent6afabe433da2481ba93e36dc617706c52bdd860e (diff)
downloadupstream-f28c03f5306ab44caf2fd8dbf81f60c4e452ac06.tar.gz
upstream-f28c03f5306ab44caf2fd8dbf81f60c4e452ac06.tar.bz2
upstream-f28c03f5306ab44caf2fd8dbf81f60c4e452ac06.zip
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')
-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 \