[Buildroot] patch for pcmcia.mk

don don_reid at comcast.net
Thu Aug 24 22:22:35 UTC 2006


I got an error message while trying to build pcmia.

------------------------
.../buildroot/build_i486/busybox/examples/depmod.pl \
        -b .../buildroot/build_i486/root/lib/modules/2.6.11.5/ \
        -k .../buildroot/build_i486/linux-2.6.11.5/vmlinux \
        -F .../buildroot/build_i486/linux-2.6.11.5/System.map \
        > .../buildroot/build_i486/root/lib/modules/2.6.11.5/modules.dep
can't use both -k and -F
------------------------

It looks like the linux binary is just used if a system map file cannot
be found.  So I changed the make file to remove it.

--- package/pcmcia/pcmcia.mk.orig	2006-08-24 13:42:37.000000000 -0700
+++ package/pcmcia/pcmcia.mk	2006-08-24 13:42:43.000000000 -0700
@@ -91,7 +91,6 @@
 	[ -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

Don Reid



More information about the buildroot mailing list