summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk
diff options
context:
space:
mode:
Diffstat (limited to 'misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk')
-rw-r--r--misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk b/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk
index ae3081d58..cc55e5b43 100644
--- a/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk
+++ b/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk
@@ -220,4 +220,7 @@ gcc-clean:
gcc-dirclean:
rm -rf $(GCC_BUILD_DIR)
+ifeq ($(strip $(BR2_PACKAGE_GCC)),y)
+TARGETS += gcc
+endif
endif