package/grub: fix compile issue under FreeBSD 8.1
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Sep 2010 16:27:00 +0000 (16:27 +0000)
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Sep 2010 16:27:00 +0000 (16:27 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23156 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/grub/Makefile

index 426b9c3..f3dd171 100644 (file)
@@ -37,6 +37,10 @@ MY_CONFIGURE_ARGS += \
        --disable-hercules \
        --without-curses \
 
        --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 \
 
 MY_CONFIGURE_VARS += \
        grub_cv_prog_objcopy_absolute=yes \
 
This page took 0.021037 seconds and 4 git commands to generate.