gcc: fix build on or1k without flex/bison on host
authorWaldemar Brodkorb <wbx@openadk.org>
Sat, 28 Jan 2017 09:19:28 +0000 (10:19 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 28 Jan 2017 09:54:52 +0000 (22:54 +1300)
Similar to arc architecture this is required.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/gcc.mk

index afe7c0947578e7151539026efb2d53abcad2dac8..241f3575c0d0b78acc339e0c7834e5e87857975b 100644 (file)
@@ -183,7 +183,7 @@ else
 HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog
 endif
 
-ifeq ($(BR2_arc),y)
+ifeq ($(BR2_arc)$(BR2_or1k),y)
 HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison
 endif