X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=post%2FMakefile;h=33db359b425e281d120fc6934f486656f7b950d0;hb=1fdafb2e3dfecdc4129a8062ad25b1adb32b0efb;hp=143924482ff0c9da69ad6539aa72870b8136e163;hpb=c0bb110b695130866838518e680bdd5473e47928;p=u-boot diff --git a/post/Makefile b/post/Makefile index 143924482f..33db359b42 100644 --- a/post/Makefile +++ b/post/Makefile @@ -5,16 +5,9 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-$(CONFIG_HAS_POST) += post.o +obj-y += post.o obj-$(CONFIG_POST_STD_LIST) += tests.o -obj-$(CONFIG_HAS_POST) += drivers/ -ifeq ($(ARCH),powerpc) -obj-$(CONFIG_HAS_POST) += lib_powerpc/ -endif -ifneq ($(filter mpc83xx mpc8xx ppc4xx,$(CPU)),) -obj-$(CONFIG_HAS_POST) += cpu/$(CPU)/ -endif -ifneq ($(filter lwmon lwmon5 netta pdm360ng,$(BOARD)),) -obj-$(CONFIG_HAS_POST) += board/$(BOARD)/ -endif +obj-y += drivers/ +obj-$(CONFIG_PPC) += lib_powerpc/ +obj-$(CONFIG_MPC83xx) += cpu/mpc83xx/