[U-Boot] [PATCH] PowerPC: mpc83xx: Do not use absolute paths for obj-y

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Dec 4 10:21:25 CET 2013


Hi.


> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> ---
> 
> Please make sure relative paths always should be used
> when $(obj-y) points to objects under a different directory.
> 
> The absolute path like follows:
>   obj-$(CONFIG_MPC8349) += $(SRCTREE)/drivers/ddr/fsl/mpc85xx_ddr_gen2.o
> creates an object file under a strange path for out-of-tree build.
> 
>   $ rm -rf build/
>   $ make O=build MPC8349EMDS_config
>   Configuring for MPC8349EMDS board...
>   $ make O=build CROSS_COMPILE=powerpc-linux-
>   <<snip>>
>   $ find . -name mpc85xx_ddr_gen2.o
>   ./build/arch/powerpc/cpu/mpc83xx/home/yamada/workspace/u-boot/drivers/ddr/fsl/mpc85xx_ddr_gen2.o

Please change the status of this patch to Superseded or Rejected.

This patch was replaced with York Sun's patch:
http://patchwork.ozlabs.org/patch/296307/


Best Regards
Masahiro Yamada



More information about the U-Boot mailing list