summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-05-24 18:41:46 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-05-24 18:41:46 +0200
commite989cc564691901d42e957059592fe3e7b6893fc (patch)
treeb37da743f19bfb4f4142401e39932e1f70c3e34d /arch/nios2
parentMerge tag 'microblaze-4.7-rc1' of git://git.monstr.eu/linux-2.6-microblaze (diff)
parentnios2: Add order-only DTC dependency to %.dtb target (diff)
downloadlinux-e989cc564691901d42e957059592fe3e7b6893fc.tar.xz
linux-e989cc564691901d42e957059592fe3e7b6893fc.zip
Merge tag 'nios2-v4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios2
Pull nios2 update from Ley Foon Tan: - add order-only DTC dependency to %.dtb target - fix libgcc location detection * tag 'nios2-v4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios2: nios2: Add order-only DTC dependency to %.dtb target nios2: Fix libgcc location detection
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile
index 2328f82ba2a8..e74afc12d516 100644
--- a/arch/nios2/Makefile
+++ b/arch/nios2/Makefile
@@ -20,7 +20,7 @@ UTS_SYSNAME = Linux
export MMU
-LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
+LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name)
KBUILD_CFLAGS += -pipe -D__linux__ -D__ELF__
KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MUL_SUPPORT),-mhw-mul,-mno-hw-mul)
@@ -53,7 +53,7 @@ all: vmImage
archclean:
$(Q)$(MAKE) $(clean)=$(nios2-boot)
-%.dtb:
+%.dtb: | scripts
$(Q)$(MAKE) $(build)=$(nios2-boot) $(nios2-boot)/$@
dtbs: