summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--project/headers.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/project/headers.mk b/project/headers.mk
index 20054d5..77f7cf1 100644
--- a/project/headers.mk
+++ b/project/headers.mk
@@ -94,12 +94,6 @@ $(DESTDIR)$(INCLUDEDIR)/%.h: $(SOURCE_DIR)/include/%.h
chmod 0644 $@.tmp
mv $@.tmp $@
-install-arch-headers: headers.tag $(ARCH_GEN_H) $(src_bits_h) $(dst_bits_h)
-
-install-libc-headers: headers.tag $(dst_header_dirs) $(dst_c_headers)
-
-install-headers: install-arch-headers install-libc-headers
-
# build/include
build/headers.tag: | build/include/bits/
@@ -117,6 +111,12 @@ headers.tag: build/headers.tag $(ARCH_GEN_H)
mv build/include/bits/ioctl.h.tmp build/include/bits/ioctl.h
touch $@
+install-arch-headers: headers.tag $(ARCH_GEN_H) $(src_bits_h) $(dst_bits_h)
+
+install-libc-headers: headers.tag $(dst_header_dirs) $(dst_c_headers)
+
+install-headers: install-arch-headers install-libc-headers
+
clean-headers:
rm -f $(ARCH_GEN_H)
rm -f $(src_bits_h)