This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
make more redboot build conditonal
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: eCos Patches List <ecos-patches at sources dot redhat dot com>
- Date: Fri, 14 Feb 2003 02:45:46 +0000
- Subject: make more redboot build conditonal
From the problem Philippe Moutarlier had on ecos-discuss, it's apparent
that the config options in redboot.cdl need tweaking.
Essentially nothing should get defined if CYGBLD_BUILD_REDBOOT isn't
defined. So I'm putting essentially everything inside that. The patch is
basically:
Index: cdl/redboot.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/cdl/redboot.cdl,v
retrieving revision 1.43
diff -u -5 -p -r1.43 redboot.cdl
--- cdl/redboot.cdl 24 Aug 2002 11:34:50 -0000 1.43
+++ cdl/redboot.cdl 14 Feb 2003 02:41:39 -0000
@@ -194,11 +194,10 @@ cdl_package CYGPKG_REDBOOT {
<PREFIX>/bin/redboot.elf : $(PREFIX)/lib/target.ld
$(PREFIX)/lib/vectors.o $(PREFIX)/lib/libtarget.a $(PREFIX)/lib/libextras.a
@sh -c "mkdir -p $(dir $@)"
$(CC) -c $(INCLUDE_PATH) $(CFLAGS) -o
$(PREFIX)/lib/version.o $(REPOSITORY)/$(PACKAGE)/src/version.c
$(CC) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -o $@
$(PREFIX)/lib/version.o
}
- }
cdl_component CYGPKG_REDBOOT_NETWORKING {
display "Redboot Networking"
flavor bool
active_if CYGPKG_IO_ETH_DRIVERS
@@ -852,9 +851,10 @@ cdl_package CYGPKG_REDBOOT {
legal_values 0x4000 to 0x80000000
description "
Size of common buffer to allocate. Must be at least the
size of one flash sector."
}
+ }
}
}
# EOF redboot.cdl
But will actually be much more as I am going to indent the options between
appropriately - just whitespace.
2003-02-14 Jonathan Larmour <jifl@eCosCentric.com>
* cdl/redboot.cdl: Put virtually all options inside
CYGBLD_BUILD_REDBOOT. And indent accordingly.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine