summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-25 01:20:51 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-25 01:20:51 +0000
commitcebef70d9071eac41765ecc322cd863368fc737f (patch)
tree3ffc70cdc8ff1f0f7cd62cd8c11326f74523c052 /Makefile
parent1af9efbcb57a0bbfa47afe4ea156f51df3d83be0 (diff)
One last structural change. Install header files to INSTALLDIR/usr/include
so we now parallel the behavior of the standard tools. Also make sure we check INSTALLDIR/lib and INSTALLDIR/usr/lib for libraries. -Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index d04e6572a..7894ca733 100644
--- a/Makefile
+++ b/Makefile
@@ -154,17 +154,17 @@ install_runtime:
# in $(INSTALL_DIR)/include. Probably true only if you're using
# a packaging system.
install_dev:
- install -d $(INSTALL_DIR)/include
- install -d $(INSTALL_DIR)/include/bits
- rm -f $(INSTALL_DIR)/include/asm
- rm -f $(INSTALL_DIR)/include/linux
- ln -s $(KERNEL_SOURCE)/include/asm $(INSTALL_DIR)/include/asm
- ln -s $(KERNEL_SOURCE)/include/linux $(INSTALL_DIR)/include/linux
+ install -d $(INSTALL_DIR)/usr/include
+ install -d $(INSTALL_DIR)/usr/include/bits
+ rm -f $(INSTALL_DIR)/usr/include/asm
+ rm -f $(INSTALL_DIR)/usr/include/linux
+ ln -s $(KERNEL_SOURCE)/include/asm $(INSTALL_DIR)/usr/include/asm
+ ln -s $(KERNEL_SOURCE)/include/linux $(INSTALL_DIR)/usr/include/linux
find include/ -type f -depth -not -path "*CVS*" -exec install \
- -D -m 644 {} $(INSTALL_DIR)/'{}' ';'
+ -D -m 644 {} $(INSTALL_DIR)/usr/'{}' ';'
find include/bits/ -type f -depth -not -path "*CVS*" -exec install \
- -D -m 644 {} $(INSTALL_DIR)/'{}' ';'
- install -m 644 include/bits/uClibc_config.h $(INSTALL_DIR)/include/bits/
+ -D -m 644 {} $(INSTALL_DIR)/usr/'{}' ';'
+ install -m 644 include/bits/uClibc_config.h $(INSTALL_DIR)/usr/include/bits/
$(MAKE) -C extra/gcc-uClibc install
clean: