Loading arch/blackfin/Makefile +5 −21 Original line number Original line Diff line number Diff line Loading @@ -98,36 +98,20 @@ libs-y += arch/$(ARCH)/lib/ drivers-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/ drivers-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/ machdirs := $(patsubst %,arch/blackfin/mach-%/, $(machine-y)) KBUILD_CFLAGS += -Iarch/$(ARCH)/include/ KBUILD_CFLAGS += -Iarch/$(ARCH)/mach-$(MACHINE)/include # Update machine arch symlinks if something which affects KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) # them changed. We use .mach to indicate when they were updated # last, otherwise make uses the target directory mtime. show_mach_symlink = : quiet_show_mach_symlink = echo ' SYMLINK include/asm-$(ARCH)/mach-$(MACHINE) -> include/asm-$(ARCH)/mach' silent_show_mach_symlink = : include/asm-blackfin/.mach: $(wildcard include/config/arch/*.h) include/config/auto.conf @$($(quiet)show_mach_symlink) ifneq ($(KBUILD_SRC),) $(Q)mkdir -p include/asm-$(ARCH) $(Q)ln -fsn $(srctree)/include/asm-$(ARCH)/mach-$(MACHINE) include/asm-$(ARCH)/mach else $(Q)ln -fsn mach-$(MACHINE) include/asm-$(ARCH)/mach endif @touch $@ CLEAN_FILES += \ CLEAN_FILES += \ include/asm-$(ARCH)/asm-offsets.h \ arch/$(ARCH)/include/asm/asm-offsets.h \ arch/$(ARCH)/kernel/asm-offsets.s \ arch/$(ARCH)/kernel/asm-offsets.s \ include/asm-$(ARCH)/mach \ include/asm-$(ARCH)/.mach archprepare: include/asm-blackfin/.mach archclean: archclean: $(Q)$(MAKE) $(clean)=$(boot) $(Q)$(MAKE) $(clean)=$(boot) INSTALL_PATH ?= /tftpboot INSTALL_PATH ?= /tftpboot boot := arch/$(ARCH)/boot boot := arch/$(ARCH)/boot BOOT_TARGETS = vmImage BOOT_TARGETS = vmImage Loading include/asm-blackfin/.gitignore→arch/blackfin/include/asm/.gitignore +0 −0 File moved. View file include/asm-blackfin/Kbuild→arch/blackfin/include/asm/Kbuild +0 −0 File moved. View file include/asm-blackfin/a.out.h→arch/blackfin/include/asm/a.out.h +0 −0 File moved. View file include/asm-blackfin/atomic.h→arch/blackfin/include/asm/atomic.h +0 −0 File moved. View file Loading
arch/blackfin/Makefile +5 −21 Original line number Original line Diff line number Diff line Loading @@ -98,36 +98,20 @@ libs-y += arch/$(ARCH)/lib/ drivers-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/ drivers-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/ machdirs := $(patsubst %,arch/blackfin/mach-%/, $(machine-y)) KBUILD_CFLAGS += -Iarch/$(ARCH)/include/ KBUILD_CFLAGS += -Iarch/$(ARCH)/mach-$(MACHINE)/include # Update machine arch symlinks if something which affects KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) # them changed. We use .mach to indicate when they were updated # last, otherwise make uses the target directory mtime. show_mach_symlink = : quiet_show_mach_symlink = echo ' SYMLINK include/asm-$(ARCH)/mach-$(MACHINE) -> include/asm-$(ARCH)/mach' silent_show_mach_symlink = : include/asm-blackfin/.mach: $(wildcard include/config/arch/*.h) include/config/auto.conf @$($(quiet)show_mach_symlink) ifneq ($(KBUILD_SRC),) $(Q)mkdir -p include/asm-$(ARCH) $(Q)ln -fsn $(srctree)/include/asm-$(ARCH)/mach-$(MACHINE) include/asm-$(ARCH)/mach else $(Q)ln -fsn mach-$(MACHINE) include/asm-$(ARCH)/mach endif @touch $@ CLEAN_FILES += \ CLEAN_FILES += \ include/asm-$(ARCH)/asm-offsets.h \ arch/$(ARCH)/include/asm/asm-offsets.h \ arch/$(ARCH)/kernel/asm-offsets.s \ arch/$(ARCH)/kernel/asm-offsets.s \ include/asm-$(ARCH)/mach \ include/asm-$(ARCH)/.mach archprepare: include/asm-blackfin/.mach archclean: archclean: $(Q)$(MAKE) $(clean)=$(boot) $(Q)$(MAKE) $(clean)=$(boot) INSTALL_PATH ?= /tftpboot INSTALL_PATH ?= /tftpboot boot := arch/$(ARCH)/boot boot := arch/$(ARCH)/boot BOOT_TARGETS = vmImage BOOT_TARGETS = vmImage Loading