The directory include2/asm can point wrongly to a non-existing directory on architectures that have moved include/asm under arch/*. This patch fixes it by checking firstly whether arch/*/include/asm is available. Signed-off-by: Takashi Iwai <tiwai@suse.de> --- diff --git a/Makefile b/Makefile index 53bf6ec..bcbb764 100644 --- a/Makefile +++ b/Makefile @@ -934,7 +934,11 @@ ifneq ($(KBUILD_SRC),) fi; $(Q)if [ ! -d include2 ]; then \ mkdir -p include2; \ - ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \ + if [ -d $(srctree)/arch/$(SRCARCH)/include/asm ]; then \ + ln -fsn $(srctree)/arch/$(SRCARCH)/include/asm include2/asm; \ + else \ + ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \ + fi; \ fi endif --
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Andrew Morton | -mm merge plans for 2.6.23 |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| PJ Waskiewicz | [ANNOUNCE] ixgbe: Data Center Bridging (DCB) support for ixgbe |
| David Miller | Re: [GIT]: Networking |
