Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    rc0699467 rbfdb5af1  
    3131ROOT_PATH = $(USPACE_PREFIX)/..
    3232
    33 INCLUDE_ABI = include/abi
     33INCLUDE_KERNEL = include/kernel
     34INCLUDE_ARCH = include/arch
    3435INCLUDE_LIBARCH = include/libarch
    3536
     
    4647        $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld
    4748
    48 PRE_DEPEND = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH)
     49PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH)
    4950EXTRA_OUTPUT = $(LINKER_SCRIPTS)
    50 EXTRA_CLEAN = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
     51EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
    5152LIBRARY = libc
    5253SLIBRARY = libc.so.0.0
     
    143144include $(USPACE_PREFIX)/Makefile.common
    144145
     146$(INCLUDE_ARCH): $(INCLUDE_KERNEL) $(INCLUDE_KERNEL)/arch
     147        ln -sfn kernel/arch $@
     148
    145149$(INCLUDE_LIBARCH): arch/$(UARCH)/include
    146150        ln -sfn ../$< $@
    147151
    148 $(INCLUDE_ABI): ../../../abi/include/
     152$(INCLUDE_KERNEL)/arch: ../../../kernel/generic/include/arch $(INCLUDE_KERNEL)
     153
     154$(INCLUDE_KERNEL): ../../../kernel/generic/include/
    149155        ln -sfn ../$< $@
    150156
Note: See TracChangeset for help on using the changeset viewer.