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