Do not rm the path from pbl-y target
Whan add some obj in a subdir to lwl-y or pbl-y, like this:

     lwl-y += subdir/test.o other.o

the make process failed:

     make[2]: *** No rule to make target
'arch/arm/boards/boardname/test.o', \
         needed by 'arch/arm/boards/boardname/built-in-pbl.o'.  Stop.

Note, there are not the part "subdir" in the path of the test.o.

this patch fix this

Signed-off-by: 张忠山 <zzs213@126.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 992794d commit 257abdaa36c87ce82fc41873c2004fe356301dad
@张忠山 张忠山 authored on 28 Jun 2016
Sascha Hauer committed on 5 Jul 2016
Showing 1 changed file
View
scripts/Makefile.lib