From: Eric Andersen Date: Thu, 5 Jun 2003 02:35:46 +0000 (-0000) Subject: Fixup a couple of thinko. Use the specified kernel compiler when compiling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e312fabc60c92de6ae1adea041e7fc34024cbd9;p=buildroot.git Fixup a couple of thinko. Use the specified kernel compiler when compiling pcmcia modules. And use the correct kernel source. --- diff --git a/make/pcmcia.mk b/make/pcmcia.mk index 187ea3ee3e..ced89f2a7b 100644 --- a/make/pcmcia.mk +++ b/make/pcmcia.mk @@ -41,9 +41,9 @@ $(PCMCIA_DIR)/.patched: $(PCMCIA_DIR)/.unpacked touch $(PCMCIA_DIR)/.patched $(PCMCIA_DIR)/.configured: $(PCMCIA_DIR)/.patched - ( cd $(PCMCIA_DIR) ; ./Configure --kernel=$(LINUX_DIR) --noprompt \ + ( cd $(PCMCIA_DIR) ; ./Configure --kernel=$(LINUX_SOURCE_DIR) --noprompt \ --rcdir=/etc --arch=$(ARCH) --trust --srctree --nocardbus \ - --sysv --kcc=$(HOSTCC) --ucc=$(TARGET_CC) --ld=$(TARGET_CROSS)ld \ + --sysv --kcc=$(KERNEL_CROSS)gcc --ucc=$(TARGET_CC) --ld=$(TARGET_CROSS)ld \ --target=$(TARGET_DIR)) perl -i -p -e "s/pump/udhcpc/" $(PCMCIA_DIR)/etc/network perl -i -p -e "s/ide_cs/ide-cs/" $(PCMCIA_DIR)/etc/config