X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=arch%2Farm%2Fconfig.mk;h=17b7408835b574a08e965b12dd680a8135a4bb24;hb=1ad6364eeb4f578e423081d1748e8a3fdf1ab01d;hp=98c1253f4a039b8b61e92c4a70ce292e8461160e;hpb=0d74665059943dc207df995e21a4767ca3e51a05;p=platform%2Fkernel%2Fu-boot.git diff --git a/arch/arm/config.mk b/arch/arm/config.mk index 98c1253..17b7408 100644 --- a/arch/arm/config.mk +++ b/arch/arm/config.mk @@ -108,7 +108,17 @@ endif # limit ourselves to the sections we want in the .bin. ifdef CONFIG_ARM64 -OBJCFLAGS += -j .text -j .rodata -j .data -j .u_boot_list -j .rela.dyn +OBJCOPYFLAGS += -j .text -j .rodata -j .data -j .u_boot_list -j .rela.dyn else -OBJCFLAGS += -j .text -j .rodata -j .hash -j .data -j .got.plt -j .u_boot_list -j .rel.dyn +OBJCOPYFLAGS += -j .text -j .rodata -j .hash -j .data -j .got.plt -j .u_boot_list -j .rel.dyn +endif + +ifneq ($(CONFIG_IMX_CONFIG),) +ifdef CONFIG_SPL +ifndef CONFIG_SPL_BUILD +ALL-y += SPL +endif +else +ALL-y += u-boot.imx +endif endif