summaryrefslogtreecommitdiffstats
path: root/src/crystalhd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/crystalhd.mk')
-rw-r--r--src/crystalhd.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crystalhd.mk b/src/crystalhd.mk
index ee3cd89..a0fe3f2 100644
--- a/src/crystalhd.mk
+++ b/src/crystalhd.mk
@@ -17,5 +17,7 @@ endef
define $(PKG)_BUILD
$(INSTALL) -d '$(PREFIX)/$(TARGET)/include/libcrystalhd'
- cd '$(1)' && cp *.h '$(PREFIX)/$(TARGET)/include/libcrystalhd'
+ for f in "$(1)/*.h"; do
+ $(INSTALL) -m0644 $$f '$(PREFIX)/$(TARGET)/include/libcrystalhd/'
+ done
endef