diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-06-20 12:15:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-06-20 12:15:27 +0000 |
commit | 12c383b56de2b8ab6c291522fbd40b067babf4aa (patch) | |
tree | 3f13d5688f60f46a56519b0e1996dc9567491a3d /make/pcmcia.mk | |
parent | 4cc06f8ea8ad95a5f6d0b21b88cdcd38e83646b2 (diff) |
run depmod after building pcmcia and after hostap
Diffstat (limited to 'make/pcmcia.mk')
-rw-r--r-- | make/pcmcia.mk | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/make/pcmcia.mk b/make/pcmcia.mk index 614e04ed9..ae604db79 100644 --- a/make/pcmcia.mk +++ b/make/pcmcia.mk @@ -87,7 +87,17 @@ $(TARGET_DIR)/sbin/cardmgr: $(PCMCIA_DIR)/cardmgr/cardmgr chmod a+x $(TARGET_DIR)/etc/init.d/S30pcmcia chmod -R u+w $(TARGET_DIR)/etc/pcmcia/* -pcmcia: uclibc $(TARGET_DIR)/sbin/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) ] && \ + $(BUSYBOX_DIR)/examples/depmod.pl \ + -b $(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/ \ + -k $(LINUX_DIR)/vmlinux \ + -F $(LINUX_DIR)/System.map \ + > $(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/modules.dep + touch $(PCMCIA_DIR)/.modules.dep + +pcmcia: uclibc $(TARGET_DIR)/sbin/cardmgr $(PCMCIA_DIR)/.modules.dep pcmcia-clean: rm -f $(TARGET_DIR)/sbin/cardmgr |