summaryrefslogtreecommitdiffstats
path: root/usr/include/Kbuild
blob: 00327244c727f3e2ec6218d6d3cd947679296da6 (plain)
1
2
3
4
5
6
7
8
9
10
11
always := asm

$(obj)/asm:
	@echo '  SYMLINK $@ -> include/asm-$(KLIBCASMARCH)'
	$(Q)if [ '$(KLIBCKERNELSRC)/.' -ef '$(obj)/../..' ]; then \
		ln -fsn ../../include/asm-$(KLIBCASMARCH) $@; \
	 else \
		ln -fsn $(KLIBCKERNELSRC)/include/asm-$(KLIBCASMARCH) $@; \
	 fi

clean-files := asm