summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-11-25 08:43:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-25 08:43:44 +0100
commit2155ed411eccde1bff809d00fd89bfe5ae6d2020 (patch)
treee3ad919fd9596fffe11e94b11b99b7c8bc49a25c /scripts/Makefile.lib
parente0fbce20e6e09a55ae860af5a25859bd3461d9b4 (diff)
downloadbarebox-2155ed411eccde1bff809d00fd89bfe5ae6d2020.tar.gz
barebox-2155ed411eccde1bff809d00fd89bfe5ae6d2020.tar.xz
Make: introduce obj-pbl-y
For compiling object files both in the regular binary and the pbl. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 3ff094f018..6ccf5726c7 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -29,6 +29,9 @@ else
obj-y += $(lwl-y)
endif
+obj-y += $(obj-pbl-y)
+pbl-y += $(obj-pbl-y)
+
# for non dirs add pbl- prefix to the target
# so we recompile the source with custom flags and custom quiet
__pbl-y := $(notdir $(pbl-y))