Makefile (7fe2de246e21f01212a8923fbabb4ac84c944d4a) Makefile (91bf695596f594e42d69d70deb2ae53cafecf77c)
1# This file is included by the global makefile so that you can add your own
2# architecture-specific flags and dependencies. Remember to do have actions
3# for "archclean" and "archdep" for cleaning up and making dependencies for
4# this architecture.
5#
6# This file is subject to the terms and conditions of the GNU General Public
7# License. See the file "COPYING" in the main directory of this archive
8# for more details.

--- 395 unchanged lines hidden (view full) ---

404
405PHONY += install
406install:
407 $(Q)$(MAKE) $(build)=$(boot) install
408
409archclean:
410 $(Q)$(MAKE) $(clean)=$(boot)
411
1# This file is included by the global makefile so that you can add your own
2# architecture-specific flags and dependencies. Remember to do have actions
3# for "archclean" and "archdep" for cleaning up and making dependencies for
4# this architecture.
5#
6# This file is subject to the terms and conditions of the GNU General Public
7# License. See the file "COPYING" in the main directory of this archive
8# for more details.

--- 395 unchanged lines hidden (view full) ---

404
405PHONY += install
406install:
407 $(Q)$(MAKE) $(build)=$(boot) install
408
409archclean:
410 $(Q)$(MAKE) $(clean)=$(boot)
411
412ifeq ($(KBUILD_EXTMOD),)
413# We need to generate vdso-offsets.h before compiling certain files in kernel/.
414# In order to do that, we should use the archprepare target, but we can't since
415# asm-offsets.h is included in some files used to generate vdso-offsets.h, and
416# asm-offsets.h is built in prepare0, for which archprepare is a dependency.
417# Therefore we need to generate the header after prepare0 has been made, hence
418# this hack.
419prepare: vdso_prepare
420vdso_prepare: prepare0
421 $(if $(CONFIG_VDSO32),$(Q)$(MAKE) \
422 $(build)=arch/powerpc/kernel/vdso32 include/generated/vdso32-offsets.h)
423 $(if $(CONFIG_PPC64),$(Q)$(MAKE) \
424 $(build)=arch/powerpc/kernel/vdso64 include/generated/vdso64-offsets.h)
425endif
426
412archprepare: checkbin
413
414archheaders:
415 $(Q)$(MAKE) $(build)=arch/powerpc/kernel/syscalls all
416
417ifdef CONFIG_STACKPROTECTOR
418prepare: stack_protector_prepare
419

--- 28 unchanged lines hidden ---
427archprepare: checkbin
428
429archheaders:
430 $(Q)$(MAKE) $(build)=arch/powerpc/kernel/syscalls all
431
432ifdef CONFIG_STACKPROTECTOR
433prepare: stack_protector_prepare
434

--- 28 unchanged lines hidden ---