summaryrefslogtreecommitdiff
path: root/Libraries/LibBareMetal
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-15 13:31:41 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-15 13:31:41 +0100
commitd5e167e725296886755b86ccda6343eeb96f7389 (patch)
treee9ca7a1f70279e6b84b50f4bdcfd5324438bdd13 /Libraries/LibBareMetal
parent175cd4d9c2b17ab5d0648c4fe77b5247aceee5e4 (diff)
downloadserenity-d5e167e725296886755b86ccda6343eeb96f7389.zip
LibBareMetal: Install headers so ports can pick them up
Diffstat (limited to 'Libraries/LibBareMetal')
-rw-r--r--Libraries/LibBareMetal/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Libraries/LibBareMetal/Makefile b/Libraries/LibBareMetal/Makefile
index 720752f1eb..b09d3f1760 100644
--- a/Libraries/LibBareMetal/Makefile
+++ b/Libraries/LibBareMetal/Makefile
@@ -1 +1,7 @@
+install:
+ mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibBareMetal/
+ mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibBareMetal/Output/
+ cp ../LibBareMetal/*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibBareMetal/
+ cp ../LibBareMetal/Output/*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibBareMetal/Output/
+
include ../../Makefile.common