summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-24 14:10:03 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-24 14:10:03 +0000
commitcc4cb291a4b44edcde002d62334810792b68ae59 (patch)
treeb10dcd992e24296cadd58cefc054dd8eb1c93da2
parentbb9ded22bfd4f6767e348c9419cd7e1ff36babfc (diff)
Use known Buildroot symbols for linux in pcmcia
-rw-r--r--package/pcmcia/pcmcia.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/pcmcia/pcmcia.mk b/package/pcmcia/pcmcia.mk
index 0950dbf55..a66617e19 100644
--- a/package/pcmcia/pcmcia.mk
+++ b/package/pcmcia/pcmcia.mk
@@ -40,7 +40,7 @@ $(PCMCIA_DIR)/.patched: $(PCMCIA_DIR)/.unpacked
touch $(PCMCIA_DIR)/.patched
$(PCMCIA_DIR)/.configured: $(PCMCIA_DIR)/.patched
- ( cd $(PCMCIA_DIR) ; ./Configure --kernel=$(LINUX_SOURCE_DIR) --noprompt \
+ ( cd $(PCMCIA_DIR) ; ./Configure --kernel=$(LINUX26_DIR) --noprompt \
--rcdir=/etc --arch=$(ARCH) --trust --srctree --nocardbus \
--sysv --kcc=$(KERNEL_CROSS)gcc --ucc=$(TARGET_CC) --ld=$(TARGET_CROSS)ld \
--target=$(TARGET_DIR))
@@ -88,11 +88,11 @@ $(TARGET_DIR)/sbin/cardmgr: $(PCMCIA_DIR)/cardmgr/cardmgr
# use busybox depmod.pl so we need the sources unpacked
$(PCMCIA_DIR)/.modules.dep: $(BUSYBOX_DIR)/.configured $(TARGET_DIR)/lib/modules
- [ -d $(TARGET_DIR)/lib/modules/$(LINUX_VERSION) ] && \
+ [ -d $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION) ] && \
$(BUSYBOX_DIR)/examples/depmod.pl \
- -b $(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/ \
- -F $(LINUX_DIR)/System.map \
- > $(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/modules.dep
+ -b $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)/ \
+ -F $(LINUX26_DIR)/System.map \
+ > $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)/modules.dep
touch $(PCMCIA_DIR)/.modules.dep
pcmcia: uclibc linux26 $(TARGET_DIR)/sbin/cardmgr $(PCMCIA_DIR)/.modules.dep