diff options
author | David Schleef <ds@schleef.org> | 2001-06-26 02:44:33 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2001-06-26 02:44:33 +0000 |
commit | ee8108569d6e41803ede01a1b2587c64308b29ff (patch) | |
tree | a933ffbde7d327d9aa27ab4e10f9c7605e534cd7 | |
parent | 3e2e5af56a313cf429bbeb9c1055a37b270929d1 (diff) |
Change to allow compiling against unconfigured kernels. Creates
symlink to include/asm-${arch} instead of include/asm.
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -62,7 +62,11 @@ done: $(DO_SHARED) headers: dummy @rm -f include/asm include/linux include/bits - @ln -s $(KERNEL_SOURCE)/include/asm include/asm + @if [ $(TARGET_ARCH) = "powerpc" ];then \ + ln -s $(KERNEL_SOURCE)/include/asm-ppc include/asm; \ + else \ + ln -s $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH) include/asm; \ + fi; @if [ ! -f include/asm/unistd.h ] ; then \ echo " "; \ echo "The path '$(KERNEL_SOURCE)/include/asm' doesn't exist."; \ |