summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2008-04-10 17:57:42 +0000
committerJordan Crouse <jordan.crouse@amd.com>2008-04-10 17:57:42 +0000
commitbac89d088cf102851122925b31404b7ae52c21c3 (patch)
tree128a35d75a451f29955190b181e2a5a498394bb2 /payloads
parent1cb92bc77f7be88b267be180a767b333a9d34a00 (diff)
libpayload: Avoid .svn files in the header install
Slight tweak to to the install target to avoid copying .svn files. Trivial self ack. Signed-off-by: Jordan Crouse <jordan.crouse@amd.com> Acked-by: Jordan Crouse <jordan.crouse@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3229 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index ff6ca617b0..8c6d14871c 100644
--- a/payloads/libpayload/Makefile
+++ b/payloads/libpayload/Makefile
@@ -85,7 +85,9 @@ install: lib
install -m 755 -d $(DESTDIR)/libpayload/lib
cp -r lib/* $(DESTDIR)/libpayload/lib/
install -m 755 -d $(DESTDIR)/libpayload/include
- cp -r include/* $(DESTDIR)/libpayload/include/
+ for file in `find include -name *.h -type f`; do \
+ install -m 644 -D $$file $(DESTDIR)/libpayload/$$file; \
+ done
install -m 755 -d $(DESTDIR)/libpayload/bin
install -m 755 bin/lpgcc $(DESTDIR)/libpayload/bin
install -m 755 bin/lpas $(DESTDIR)/libpayload/bin