Makefile (228c7a95534b438859d6cc068691164bd705a9c8) Makefile (22db99d673641d37c4e184ca8cff95d8441986af)
1# This file is included by the global makefile so that you can add your own
2# architecture-specific flags and dependencies.
3#
4# This file is subject to the terms and conditions of the GNU General Public
5# License. See the file "COPYING" in the main directory of this archive
6# for more details.
7#
8# Copyright (C) 1994 by Linus Torvalds

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

242 $(Q)$(MAKE) $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
243
244
245PHONY += bootwrapper_install
246bootwrapper_install:
247 $(Q)$(MAKE) $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
248
249include $(srctree)/scripts/Makefile.defconf
1# This file is included by the global makefile so that you can add your own
2# architecture-specific flags and dependencies.
3#
4# This file is subject to the terms and conditions of the GNU General Public
5# License. See the file "COPYING" in the main directory of this archive
6# for more details.
7#
8# Copyright (C) 1994 by Linus Torvalds

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

242 $(Q)$(MAKE) $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
243
244
245PHONY += bootwrapper_install
246bootwrapper_install:
247 $(Q)$(MAKE) $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
248
249include $(srctree)/scripts/Makefile.defconf
250PHONY += pseries_le_defconfig
250
251generated_configs += pseries_le_defconfig
251pseries_le_defconfig:
252 $(call merge_into_defconfig,pseries_defconfig,le)
253
252pseries_le_defconfig:
253 $(call merge_into_defconfig,pseries_defconfig,le)
254
254PHONY += ppc64le_defconfig
255generated_configs += ppc64le_defconfig
255ppc64le_defconfig:
256 $(call merge_into_defconfig,ppc64_defconfig,le)
257
256ppc64le_defconfig:
257 $(call merge_into_defconfig,ppc64_defconfig,le)
258
258PHONY += ppc64le_guest_defconfig
259generated_configs += ppc64le_guest_defconfig
259ppc64le_guest_defconfig:
260 $(call merge_into_defconfig,ppc64_defconfig,le guest)
261
260ppc64le_guest_defconfig:
261 $(call merge_into_defconfig,ppc64_defconfig,le guest)
262
262PHONY += ppc64_guest_defconfig
263generated_configs += ppc64_guest_defconfig
263ppc64_guest_defconfig:
264 $(call merge_into_defconfig,ppc64_defconfig,be guest)
265
264ppc64_guest_defconfig:
265 $(call merge_into_defconfig,ppc64_defconfig,be guest)
266
266PHONY += powernv_be_defconfig
267generated_configs += powernv_be_defconfig
267powernv_be_defconfig:
268 $(call merge_into_defconfig,powernv_defconfig,be)
269
268powernv_be_defconfig:
269 $(call merge_into_defconfig,powernv_defconfig,be)
270
270PHONY += mpc85xx_defconfig
271generated_configs += mpc85xx_defconfig
271mpc85xx_defconfig:
272 $(call merge_into_defconfig,mpc85xx_base.config,\
273 85xx-32bit 85xx-hw fsl-emb-nonhw)
274
272mpc85xx_defconfig:
273 $(call merge_into_defconfig,mpc85xx_base.config,\
274 85xx-32bit 85xx-hw fsl-emb-nonhw)
275
275PHONY += mpc85xx_smp_defconfig
276generated_configs += mpc85xx_smp_defconfig
276mpc85xx_smp_defconfig:
277 $(call merge_into_defconfig,mpc85xx_base.config,\
278 85xx-32bit 85xx-smp 85xx-hw fsl-emb-nonhw)
279
277mpc85xx_smp_defconfig:
278 $(call merge_into_defconfig,mpc85xx_base.config,\
279 85xx-32bit 85xx-smp 85xx-hw fsl-emb-nonhw)
280
280PHONY += corenet32_smp_defconfig
281generated_configs += corenet32_smp_defconfig
281corenet32_smp_defconfig:
282 $(call merge_into_defconfig,corenet_base.config,\
283 85xx-32bit 85xx-smp 85xx-hw fsl-emb-nonhw dpaa)
284
282corenet32_smp_defconfig:
283 $(call merge_into_defconfig,corenet_base.config,\
284 85xx-32bit 85xx-smp 85xx-hw fsl-emb-nonhw dpaa)
285
285PHONY += corenet64_smp_defconfig
286generated_configs += corenet64_smp_defconfig
286corenet64_smp_defconfig:
287 $(call merge_into_defconfig,corenet_base.config,\
288 85xx-64bit 85xx-smp altivec 85xx-hw fsl-emb-nonhw dpaa)
289
287corenet64_smp_defconfig:
288 $(call merge_into_defconfig,corenet_base.config,\
289 85xx-64bit 85xx-smp altivec 85xx-hw fsl-emb-nonhw dpaa)
290
290PHONY += mpc86xx_defconfig
291generated_configs += mpc86xx_defconfig
291mpc86xx_defconfig:
292 $(call merge_into_defconfig,mpc86xx_base.config,\
293 86xx-hw fsl-emb-nonhw)
294
292mpc86xx_defconfig:
293 $(call merge_into_defconfig,mpc86xx_base.config,\
294 86xx-hw fsl-emb-nonhw)
295
295PHONY += mpc86xx_smp_defconfig
296generated_configs += mpc86xx_smp_defconfig
296mpc86xx_smp_defconfig:
297 $(call merge_into_defconfig,mpc86xx_base.config,\
298 86xx-smp 86xx-hw fsl-emb-nonhw)
299
297mpc86xx_smp_defconfig:
298 $(call merge_into_defconfig,mpc86xx_base.config,\
299 86xx-smp 86xx-hw fsl-emb-nonhw)
300
300PHONY += ppc32_allmodconfig
301generated_configs += ppc32_allmodconfig
301ppc32_allmodconfig:
302 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/book3s_32.config \
303 -f $(srctree)/Makefile allmodconfig
304
302ppc32_allmodconfig:
303 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/book3s_32.config \
304 -f $(srctree)/Makefile allmodconfig
305
305PHONY += ppc_defconfig
306generated_configs += ppc_defconfig
306ppc_defconfig:
307 $(call merge_into_defconfig,book3s_32.config,)
308
307ppc_defconfig:
308 $(call merge_into_defconfig,book3s_32.config,)
309
309PHONY += ppc64le_allmodconfig
310generated_configs += ppc64le_allmodconfig
310ppc64le_allmodconfig:
311 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/le.config \
312 -f $(srctree)/Makefile allmodconfig
313
311ppc64le_allmodconfig:
312 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/le.config \
313 -f $(srctree)/Makefile allmodconfig
314
314PHONY += ppc64le_allnoconfig
315generated_configs += ppc64le_allnoconfig
315ppc64le_allnoconfig:
316 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/ppc64le.config \
317 -f $(srctree)/Makefile allnoconfig
318
316ppc64le_allnoconfig:
317 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/ppc64le.config \
318 -f $(srctree)/Makefile allnoconfig
319
319PHONY += ppc64_book3e_allmodconfig
320generated_configs += ppc64_book3e_allmodconfig
320ppc64_book3e_allmodconfig:
321 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/85xx-64bit.config \
322 -f $(srctree)/Makefile allmodconfig
323
321ppc64_book3e_allmodconfig:
322 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/85xx-64bit.config \
323 -f $(srctree)/Makefile allmodconfig
324
324PHONY += ppc32_randconfig
325generated_configs += ppc32_randconfig
325ppc32_randconfig:
326 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/32-bit.config \
327 -f $(srctree)/Makefile randconfig
328
326ppc32_randconfig:
327 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/32-bit.config \
328 -f $(srctree)/Makefile randconfig
329
329PHONY += ppc64_randconfig
330generated_configs += ppc64_randconfig
330ppc64_randconfig:
331 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/64-bit.config \
332 -f $(srctree)/Makefile randconfig
333
331ppc64_randconfig:
332 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/64-bit.config \
333 -f $(srctree)/Makefile randconfig
334
335PHONY += $(generated_configs)
336
334define archhelp
335 echo '* zImage - Build default images selected by kernel config'
336 echo ' zImage.* - Compressed kernel image (arch/$(ARCH)/boot/zImage.*)'
337 echo ' uImage - U-Boot native image format'
338 echo ' cuImage.<dt> - Backwards compatible U-Boot image for older'
339 echo ' versions which do not support device trees'
340 echo ' dtbImage.<dt> - zImage with an embedded device tree blob'
341 echo ' simpleImage.<dt> - Firmware independent image.'

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

346 echo ' install to $$(INSTALL_PATH) and run lilo'
347 echo ' *_defconfig - Select default config from arch/$(ARCH)/configs'
348 echo ''
349 echo ' Targets with <dt> embed a device tree blob inside the image'
350 echo ' These targets support board with firmware that does not'
351 echo ' support passing a device tree directly. Replace <dt> with the'
352 echo ' name of a dts file from the arch/$(ARCH)/boot/dts/ directory'
353 echo ' (minus the .dts extension).'
337define archhelp
338 echo '* zImage - Build default images selected by kernel config'
339 echo ' zImage.* - Compressed kernel image (arch/$(ARCH)/boot/zImage.*)'
340 echo ' uImage - U-Boot native image format'
341 echo ' cuImage.<dt> - Backwards compatible U-Boot image for older'
342 echo ' versions which do not support device trees'
343 echo ' dtbImage.<dt> - zImage with an embedded device tree blob'
344 echo ' simpleImage.<dt> - Firmware independent image.'

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

349 echo ' install to $$(INSTALL_PATH) and run lilo'
350 echo ' *_defconfig - Select default config from arch/$(ARCH)/configs'
351 echo ''
352 echo ' Targets with <dt> embed a device tree blob inside the image'
353 echo ' These targets support board with firmware that does not'
354 echo ' support passing a device tree directly. Replace <dt> with the'
355 echo ' name of a dts file from the arch/$(ARCH)/boot/dts/ directory'
356 echo ' (minus the .dts extension).'
357 echo
358 $(foreach cfg,$(generated_configs),
359 printf " %-27s - Build for %s\\n" $(cfg) $(subst _defconfig,,$(cfg));)
354endef
355
356PHONY += install
357install:
358 $(call cmd,install)
359
360ifeq ($(KBUILD_EXTMOD),)
361# We need to generate vdso-offsets.h before compiling certain files in kernel/.

--- 42 unchanged lines hidden ---
360endef
361
362PHONY += install
363install:
364 $(call cmd,install)
365
366ifeq ($(KBUILD_EXTMOD),)
367# We need to generate vdso-offsets.h before compiling certain files in kernel/.

--- 42 unchanged lines hidden ---