Getting pcmcia drivers builtin by default (bug?)
Greetings,
Trying to get my arm board going when i noticed that it for some strange reason tries to get two pcmcia drivers built in my binary.
Looking at the pcmcia makefile it seems like any image will always include that. What am I missing?
/Kristoffer
#
# (C) Copyright 2000-2007
# Wolfgang Denk, DENX Software Engineering, wd at denx.de. #
# See file CREDITS for list of people who contributed to this
# project. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA #
include $(TOPDIR)/config.mk
LIB := $(obj)libpcmcia.a
COBJS-$(CONFIG_I82365) += i82365.o COBJS-$(CONFIG_8xx) += mpc8xx_pcmcia.o COBJS-$(CONFIG_PXA_PCMCIA) += pxa_pcmcia.o COBJS-y += rpx_pcmcia.o COBJS-$(CONFIG_IDE_TI_CARDBUS) += ti_pci1410a.o COBJS-y += tqm8xx_pcmcia.o COBJS-$(CONFIG_MARUBUN_PCCARD) += marubun_pcmcia.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
all: $(LIB)
$(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)
#########################################################################
# defines $(obj).depend target include $(SRCTREE)/rules.mk
sinclude $(obj).depend
#########################################################################
Log:
make[1]: Leaving directory `/home/kristoffer/work/projects/u-boot.git/drivers/net/sk98lin' make -C drivers/pci/
make[1]: Entering directory `/home/kristoffer/work/projects/u-boot.git/drivers/pci' arm-linux-ar crv libpci.a
make[1]: Leaving directory `/home/kristoffer/work/projects/u-boot.git/drivers/pci' make -C drivers/pcmcia/
make[1]: Entering directory `/home/kristoffer/work/projects/u-boot.git/drivers/pcmcia'
arm-linux-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0xc1000000 -I/home/kristoffer/work/projects/u-boot.git/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/crosstool/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv4 -mtune=strongarm1100 -Wall -Wstrict-prototypes -fno-stack-protector -o rpx_pcmcia.o rpx_pcmcia.c -c arm-linux-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0xc1000000 -I/home/kristoffer/work/projects/u-boot.git/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/crosstool/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv4 -mtune=strongarm1100 -Wall -Wstrict-prototypes -fno-stack-protector -o tqm8xx_pcmcia.o tqm8xx_pcmcia.c -c
arm-linux-ar crv libpcmcia.a rpx_pcmcia.o tqm8xx_pcmcia.o
r - rpx_pcmcia.o
r - tqm8xx_pcmcia.o
make[1]: Leaving directory `/home/kristoffer/work/projects/u-boot.git/drivers/pcmcia' make -C drivers/power/
make[1]: Entering directory `/home/kristoffer/work/projects/u-boot.git/drivers/power' arm-linux-ar crv libpower.a
make[1]: Leaving directory `/home/kristoffer/work/projects/u-boot.git/drivers/power' make -C drivers/spi/
My diffset:
MAKEALL +1 -0
@@ -485,6 +485,7 @@ LIST_SA=" \ gcplus \ lart \ shannon \ + jornada \ " #########################################################################
Makefile +3 -0
@@ -2716,6 +2716,9 @@ lart_config : unconfig shannon_config : unconfig @$(MKCONFIG) $(@:_config=) arm sa1100 shannon +jornada_config : unconfig + @$(MKCONFIG) $(@:_config=) arm sa1100 jornada + ######################################################################### ## ARM92xT Systems #########################################################################
board/jornada/Makefile new file +53 -0
53 lines not on this page · raw message
board/jornada/config.mk new file +7 -0
@@ -0,0 +1,7 @@ +# +# SA-1110 based HP Jornada board +# +# The Intel Jornada 1 bank of 32 MiB SDRAM +# + +TEXT_BASE = 0xc1000000
board/jornada/jornada.c new file +72 -0
72 lines not on this page · raw message
board/jornada/setup.S new file +124 -0
124 lines not on this page · raw message
board/jornada/u-boot.lds new file +58 -0
58 lines not on this page · raw message
include/configs/jornada.h new file +152 -0
152 lines not on this page · raw message
Signature · 1 line
Kristoffer Ericson <[email protected]>
Dear Kristoffer Ericson,
Quoted 4 lines · In message <[email protected]> you wrote:
Greetings,
Trying to get my arm board going when i noticed that it for some strange reason tries to get two pcmcia drivers built in my binary.
That should be Mostly Harmless, as the object files are actually empty.
Quoted 2 lines
Looking at the pcmcia makefile it seems like any image will always include that. What am I missing?
Nothing, but it's not a problem either.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A failure will not appear until a unit has passed final inspection.