X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=post%2FMakefile;h=78ede8c629088322f34b404a106a44aff8897c24;hb=380e86f361e4e2aef83295972863654fde157560;hp=143924482ff0c9da69ad6539aa72870b8136e163;hpb=a67cefc353f1f3ecb869bd04d4a951356fbe55da;p=platform%2Fkernel%2Fu-boot.git diff --git a/post/Makefile b/post/Makefile index 1439244..78ede8c 100644 --- a/post/Makefile +++ b/post/Makefile @@ -5,16 +5,14 @@ # 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)/ +obj-y += drivers/ +obj-$(CONFIG_PPC) += lib_powerpc/ +obj-$(CONFIG_MPC83xx) += cpu/mpc83xx/ +obj-$(CONFIG_8xx) += cpu/mpc8xx/ +obj-$(CONFIG_4xx) += cpu/ppc4xx/ +ifneq ($(filter lwmon5 pdm360ng,$(BOARD)),) +obj-y += board/$(BOARD)/ endif