Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] patch for pcmcia.mk
@ 2006-08-24 22:22 don
  2006-08-25  2:44 ` Erik Andersen
  0 siblings, 1 reply; 2+ messages in thread
From: don @ 2006-08-24 22:22 UTC (permalink / raw)
  To: buildroot


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-25  2:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 22:22 [Buildroot] patch for pcmcia.mk don
2006-08-25  2:44 ` Erik Andersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox