Skip to content

Commit

Permalink
nds32: remove unneeded code in arch/nds32/Makefile
Browse files Browse the repository at this point in the history
 - scripts/Kbuild.include already defined 'comma'

 - The top Makefile has 'PHONY += FORCE'

 - include/asm-*/ was moved to arch/*/include/asm/ a decade ago

Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
masahir0y committed Jan 17, 2019
1 parent be3bb59 commit 558ee61
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions arch/nds32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ OBJCOPYFLAGS := -O binary -R .note -R .note.gnu.build-id -R .comment -S

KBUILD_DEFCONFIG := defconfig

comma = ,


ifdef CONFIG_FUNCTION_TRACER
arch-y += -malways-save-lp -mno-relax
endif
Expand Down Expand Up @@ -54,8 +51,6 @@ endif
boot := arch/nds32/boot
core-y += $(boot)/dts/

.PHONY: FORCE

Image: vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@

Expand All @@ -68,9 +63,6 @@ prepare: vdso_prepare
vdso_prepare: prepare0
$(Q)$(MAKE) $(build)=arch/nds32/kernel/vdso include/generated/vdso-offsets.h

CLEAN_FILES += include/asm-nds32/constants.h*

# We use MRPROPER_FILES and CLEAN_FILES now
archclean:
$(Q)$(MAKE) $(clean)=$(boot)

Expand Down

0 comments on commit 558ee61

Please sign in to comment.