summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-07-11 07:58:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-07-11 07:58:33 +0200
commitf64075972b8dc4ec4a701506e5fe8075113d3c4a (patch)
treee8c13889eec312fcb7e32ed040017a16204bd005 /scripts
parente54183d6d4eb575051e67a020094787c113f238d (diff)
parentb06ecabed947ed778ee2f271c0cb0cc8c4483f5d (diff)
downloadbarebox-f64075972b8dc4ec4a701506e5fe8075113d3c4a.tar.gz
barebox-f64075972b8dc4ec4a701506e5fe8075113d3c4a.tar.xz
Merge branch 'for-next/misc'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.lib7
-rw-r--r--scripts/basic/.gitignore1
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 27365d8df8..e55bc27789 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -39,10 +39,9 @@ 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))
-pbl-y := $(patsubst %.o,pbl-%.o,$(__pbl-y))
+# add pbl- prefix to the target
+pbl-y := $(shell echo $(pbl-y) | sed -e 's%\(\([^ \t]\+/\)*\)\([^ \t]*\.o\)%\2pbl-\3%g')
+
# add subdir from $(obj-y) too so we do not need to have the dir define in
# both $(obj-y) and $(pbl-y)
__pbl-y := $(filter-out $(pbl-y), $(filter %/, $(obj-y)))
diff --git a/scripts/basic/.gitignore b/scripts/basic/.gitignore
index a776371a35..dc24f5f4c7 100644
--- a/scripts/basic/.gitignore
+++ b/scripts/basic/.gitignore
@@ -1 +1,2 @@
+docproc
fixdep