Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot Not Using Saved Config for Linux
@ 2009-01-05 23:11 Quick X
  2009-01-06  1:34 ` [Buildroot] Cups compile problem Daniel
  2009-01-06 18:31 ` [Buildroot] Buildroot Not Using Saved Config for Linux Ulf Samuelsson
  0 siblings, 2 replies; 8+ messages in thread
From: Quick X @ 2009-01-05 23:11 UTC (permalink / raw)
  To: buildroot


I can't get buildroot to use the "local\MYPROJECT\linux-2.6.24.3.config" file no matter what.  It always uses the "project_build_arm/at91sam9261ek/linux-2.6.24.3/.config" file, or creates a new one if it doesn't exsist.
 
Steps I do to test:
make linux26-menuconfig
make saveconfig
make linux26-menuconfig (EDIT SOMETHING ELSE)
make BOARD=MYPROJECT
 
The (EDIT SOMETHING ELSE) changes are used, not the config that was saved.  Even if I delete the "project_build_arm/at91sam9261ek/linux-2.6.24.3/.config" it just creates a new one, asking questions during the build process, instead of using the one located in the local directory.  Same result if I delete everything and grab a new buildroot with svn, and then copy the "local" directory to it and issue the following:
make menuconfig
make BOARD=MYPROJECT
 
 
I'm using a Kubuntu 8.10 machine.  The "MYPROJECT.config" defines the ".//local/at91sam9261ek/linux-2.6.24.3.config" as the linux config after a "make saveconfig".  AKA: BR2_PACKAGE_LINUX_KCONFIG=".//local/at91sam9261ek/linux-2.6.24.3.config"
 
I'm unsure if this matters but the "BR2_PACKAGE_LINUX_KCONFIG" is usally defined in the middle of the .config file and after a "make saveconfig" it's defined at the very botton of the .config file.  I've tired using: BR2_PACKAGE_LINUX_KCONFIG="./local/at91sam9261ek/linux-2.6.24.3.config" (AKA changing the ".//" to "./") and it doesn't fix the problem.
 
Small thing since it's easy to issue a "cp local\MYPROJECT\linux-2.6.24.3.config project_build_arm\MYPROJECT\linux-2.6.24.3\.config" command before building if I think it's needed, which builds fine.  Am I using the "make saveconfig" & "make BOARD=MYPROJECT" incorrectly?
_________________________________________________________________
Keep in touch and up to date with friends and family. Make the connection now.
http://www.microsoft.com/windows/windowslive/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/buildroot/attachments/20090105/6c75c81d/attachment.htm 

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

* [Buildroot]  Cups compile problem
  2009-01-05 23:11 [Buildroot] Buildroot Not Using Saved Config for Linux Quick X
@ 2009-01-06  1:34 ` Daniel
  2009-01-06  4:24   ` [Buildroot] _Cups_compile_problem Daniel
  2009-01-06 18:31 ` [Buildroot] Buildroot Not Using Saved Config for Linux Ulf Samuelsson
  1 sibling, 1 reply; 8+ messages in thread
From: Daniel @ 2009-01-06  1:34 UTC (permalink / raw)
  To: buildroot

Dear All:

	I have check out a latest cups scripts. When I build the root, it shows as below. Can anyone help? Thanks.
make[2]: Leaving directory `/home/daniel/pilot/buildroot/build_arm/cups-1.3.5/notifier'
Installing in pdftops...
make[2]: Entering directory `/home/daniel/pilot/buildroot/build_arm/cups-1.3.5/pdftops'
Compiling Annot.cxx...
Compiling Array.cxx...
Compiling BuiltinFont.cxx...
Compiling BuiltinFontTables.cxx...
Compiling Catalog.cxx...
Compiling CharCodeToUnicode.cxx...
Compiling CMap.cxx...
Compiling Decrypt.cxx...
Compiling Dict.cxx...
Compiling Error.cxx...
Compiling FoFiBase.cxx...
Compiling FoFiEncodings.cxx...
Compiling FoFiTrueType.cxx...
Compiling FoFiType1C.cxx...
FoFiType1C.cxx: In member function ???void FoFiType1C::readFD(int, int, Type1CPrivateDict*)???:
FoFiType1C.cxx:1924: warning: ???fontMatrix$0??? may be used uninitialized in this function
FoFiType1C.cxx:1924: warning: ???fontMatrix$1??? may be used uninitialized in this function
FoFiType1C.cxx:1924: warning: ???fontMatrix$2??? may be used uninitialized in this function
FoFiType1C.cxx:1924: warning: ???fontMatrix$3??? may be used uninitialized in this function
FoFiType1C.cxx:1924: warning: ???fontMatrix$4??? may be used uninitialized in this function
FoFiType1C.cxx:1924: warning: ???fontMatrix$5??? may be used uninitialized in this function
Compiling FoFiType1.cxx...
Compiling FontEncodingTables.cxx...
Compiling Function.cxx...
Compiling gfile.cxx...
Compiling Gfx.cxx...
Compiling GfxFont.cxx...
Compiling GfxState.cxx...
Compiling GHash.cxx...
Compiling GList.cxx...
Compiling GlobalParams.cxx...
GlobalParams.cxx: In destructor ???GlobalParams::~GlobalParams()???:
GlobalParams.cxx:1059: warning: dereferencing type-punned pointer will break strict-aliasing rules
GlobalParams.cxx: In member function ???CharCodeToUnicode* GlobalParams::getUnicodeToUnicode(GString*)???:
GlobalParams.cxx:1647: warning: dereferencing type-punned pointer will break strict-aliasing rules
Compiling gmem.c...
Compiling gmempp.cxx...
Compiling GString.cxx...
Compiling JArithmeticDecoder.cxx...
Compiling JBIG2Stream.cxx...
Compiling JPXStream.cxx...
Compiling Lexer.cxx...
Compiling Link.cxx...
Compiling NameToCharCode.cxx...
Compiling Object.cxx...
Compiling Outline.cxx...
Compiling OutputDev.cxx...
Compiling Page.cxx...
Compiling parseargs.c...
Compiling Parser.cxx...
Compiling PDFDoc.cxx...
Compiling PDFDocEncoding.cxx...
Compiling PSOutputDev.cxx...
Compiling PSTokenizer.cxx...
Compiling SecurityHandler.cxx...
Compiling Stream.cxx...
Compiling UnicodeMap.cxx...
Compiling UnicodeTypeTable.cxx...
Compiling XpdfPluginAPI.cxx...
Compiling XRef.cxx...
Archiving libxpdf.a...
a - Annot.o
a - Array.o
a - BuiltinFont.o
a - BuiltinFontTables.o
a - Catalog.o
a - CharCodeToUnicode.o
a - CMap.o
a - Decrypt.o
a - Dict.o
a - Error.o
a - FoFiBase.o
a - FoFiEncodings.o
a - FoFiTrueType.o
a - FoFiType1C.o
a - FoFiType1.o
a - FontEncodingTables.o
a - Function.o
a - gfile.o
a - Gfx.o
a - GfxFont.o
a - GfxState.o
a - GHash.o
a - GList.o
a - GlobalParams.o
a - gmem.o
a - gmempp.o
a - GString.o
a - JArithmeticDecoder.o
a - JBIG2Stream.o
a - JPXStream.o
a - Lexer.o
a - Link.o
a - NameToCharCode.o
a - Object.o
a - Outline.o
a - OutputDev.o
a - Page.o
a - parseargs.o
a - Parser.o
a - PDFDoc.o
a - PDFDocEncoding.o
a - PSOutputDev.o
a - PSTokenizer.o
a - SecurityHandler.o
a - Stream.o
a - UnicodeMap.o
a - UnicodeTypeTable.o
a - XpdfPluginAPI.o
a - XRef.o
Compiling pdftops.cxx...
Linking pdftops...
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
libxpdf.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [pdftops] Error 1
make[2]: Leaving directory `/home/daniel/pilot/buildroot/build_arm/cups-1.3.5/pdftops'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/daniel/pilot/buildroot/build_arm/cups-1.3.5'
make: *** [/home/daniel/pilot/buildroot/build_arm/cups-1.3.5/.installed] Error 2

			

????????Sincerely yours,
 
				 
????????Daniel Li
????????2009-01-06

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

* [Buildroot] _Cups_compile_problem
  2009-01-06  1:34 ` [Buildroot] Cups compile problem Daniel
@ 2009-01-06  4:24   ` Daniel
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel @ 2009-01-06  4:24 UTC (permalink / raw)
  To: buildroot

Dear All:

	Fixed! It's OK within the latest SVN snapshot. Just something wrong with my environment.
 
Sorry for the trouble! 

Hi Allan, 
   Thanks again.

======= 2009-01-06 09:50:23 written in your letter?=======

>Dear All:
>
>	I have check out a latest cups scripts. When I build the root, it shows as below. Can anyone help? Thanks.
>make[2]: Leaving directory `/home/daniel/pilot/buildroot/build_arm/cups-1.3.5/notifier'
>Installing in pdftops...
>make[2]: Entering directory `/home/daniel/pilot/buildroot/build_arm/cups-1.3.5/pdftops'
>Compiling Annot.cxx...
>Compiling Array.cxx...
>Compiling BuiltinFont.cxx...
>Compiling BuiltinFontTables.cxx...
>Compiling Catalog.cxx...
>Compiling CharCodeToUnicode.cxx...
>Compiling CMap.cxx...
>Compiling Decrypt.cxx...
>Compiling Dict.cxx...
>Compiling Error.cxx...
>Compiling FoFiBase.cxx...
>Compiling FoFiEncodings.cxx...
>Compiling FoFiTrueType.cxx...
>Compiling FoFiType1C.cxx...
>FoFiType1C.cxx: In member function ???void FoFiType1C::readFD(int, int, Type1CPrivateDict*)???:
>FoFiType1C.cxx:1924: warning: ???fontMatrix$0??? may be used uninitialized in this function
>FoFiType1C.cxx:1924: warning: ???fontMatrix$1??? may be used uninitialized in this function
>FoFiType1C.cxx:1924: warning: ???fontMatrix$2??? may be used uninitialized in this function
>FoFiType1C.cxx:1924: warning: ???fontMatrix$3??? may be used uninitialized in this function
>FoFiType1C.cxx:1924: warning: ???fontMatrix$4??? may be used uninitialized in this function
>FoFiType1C.cxx:1924: warning: ???fontMatrix$5??? may be used uninitialized in this function
>Compiling FoFiType1.cxx...
>Compiling FontEncodingTables.cxx...
>Compiling Function.cxx...
>Compiling gfile.cxx...
>Compiling Gfx.cxx...
>Compiling GfxFont.cxx...
>Compiling GfxState.cxx...
>Compiling GHash.cxx...
>Compiling GList.cxx...
>Compiling GlobalParams.cxx...
>GlobalParams.cxx: In destructor ???GlobalParams::~GlobalParams()???:
>GlobalParams.cxx:1059: warning: dereferencing type-punned pointer will break strict-aliasing rules
>GlobalParams.cxx: In member function ???CharCodeToUnicode* GlobalParams::getUnicodeToUnicode(GString*)???:
>GlobalParams.cxx:1647: warning: dereferencing type-punned pointer will break strict-aliasing rules
>Compiling gmem.c...
>Compiling gmempp.cxx...
>Compiling GString.cxx...
>Compiling JArithmeticDecoder.cxx...
>Compiling JBIG2Stream.cxx...
>Compiling JPXStream.cxx...
>Compiling Lexer.cxx...
>Compiling Link.cxx...
>Compiling NameToCharCode.cxx...
>Compiling Object.cxx...
>Compiling Outline.cxx...
>Compiling OutputDev.cxx...
>Compiling Page.cxx...
>Compiling parseargs.c...
>Compiling Parser.cxx...
>Compiling PDFDoc.cxx...
>Compiling PDFDocEncoding.cxx...
>Compiling PSOutputDev.cxx...
>Compiling PSTokenizer.cxx...
>Compiling SecurityHandler.cxx...
>Compiling Stream.cxx...
>Compiling UnicodeMap.cxx...
>Compiling UnicodeTypeTable.cxx...
>Compiling XpdfPluginAPI.cxx...
>Compiling XRef.cxx...
>Archiving libxpdf.a...
>a - Annot.o
>a - Array.o
>a - BuiltinFont.o
>a - BuiltinFontTables.o
>a - Catalog.o
>a - CharCodeToUnicode.o
>a - CMap.o
>a - Decrypt.o
>a - Dict.o
>a - Error.o
>a - FoFiBase.o
>a - FoFiEncodings.o
>a - FoFiTrueType.o
>a - FoFiType1C.o
>a - FoFiType1.o
>a - FontEncodingTables.o
>a - Function.o
>a - gfile.o
>a - Gfx.o
>a - GfxFont.o
>a - GfxState.o
>a - GHash.o
>a - GList.o
>a - GlobalParams.o
>a - gmem.o
>a - gmempp.o
>a - GString.o
>a - JArithmeticDecoder.o
>a - JBIG2Stream.o
>a - JPXStream.o
>a - Lexer.o
>a - Link.o
>a - NameToCharCode.o
>a - Object.o
>a - Outline.o
>a - OutputDev.o
>a - Page.o
>a - parseargs.o
>a - Parser.o
>a - PDFDoc.o
>a - PDFDocEncoding.o
>a - PSOutputDev.o
>a - PSTokenizer.o
>a - SecurityHandler.o
>a - Stream.o
>a - UnicodeMap.o
>a - UnicodeTypeTable.o
>a - XpdfPluginAPI.o
>a - XRef.o
>Compiling pdftops.cxx...
>Linking pdftops...
>/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
>/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
>/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
>/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
>/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
>/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
>libxpdf.a: could not read symbols: File in wrong format
>collect2: ld returned 1 exit status
>make[2]: *** [pdftops] Error 1
>make[2]: Leaving directory `/home/daniel/pilot/buildroot/build_arm/cups-1.3.5/pdftops'
>make[1]: *** [install] Error 1
>make[1]: Leaving directory `/home/daniel/pilot/buildroot/build_arm/cups-1.3.5'
>make: *** [/home/daniel/pilot/buildroot/build_arm/cups-1.3.5/.installed] Error 2
>
>			
>
>????????Sincerely yours,
> 
>				 
>????????Daniel Li
>????????2009-01-06
>
>_______________________________________________
>buildroot mailing list
>buildroot at busybox.net
>http://lists.busybox.net/mailman/listinfo/buildroot

= = = = = = = = = = = = = = = = = = = =
			

????????Sincerely yours,
 
				 
????????Daniel Li
????????2009-01-06

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

* [Buildroot] Buildroot Not Using Saved Config for Linux
  2009-01-05 23:11 [Buildroot] Buildroot Not Using Saved Config for Linux Quick X
  2009-01-06  1:34 ` [Buildroot] Cups compile problem Daniel
@ 2009-01-06 18:31 ` Ulf Samuelsson
  2009-01-06 20:40   ` Quick X
  2009-01-06 22:43   ` Quick X
  1 sibling, 2 replies; 8+ messages in thread
From: Ulf Samuelsson @ 2009-01-06 18:31 UTC (permalink / raw)
  To: buildroot

m?n 2009-01-05 klockan 15:11 -0800 skrev Quick X:
> I can't get buildroot to use the "local\MYPROJECT
> \linux-2.6.24.3.config" file no matter what.  It always uses the
> "project_build_arm/at91sam9261ek/linux-2.6.24.3/.config" file, or
> creates a new one if it doesn't exsist.
>  
> Steps I do to test:
> make linux26-menuconfig
> make saveconfig
> make linux26-menuconfig (EDIT SOMETHING ELSE)
> make BOARD=MYPROJECT
>  

IIRC, The way saveconfig works is that it copies the current
$(TOPDIR)/.config to the loacl/$(PROJECT) directory
and then edits the paths for certain variables.

It does not modify the ?$(TOPDIR)/.config file,so you
will still be using the same paths.

If you want to use the new board stuff, you have to to

$ make BOARD=MYPROJECT getconfig 

which do:

cp $(LOCAL)/$(PROJECT)/$(PROJECT).config .config

and after that, you should be using the BOARD files.

Note that you can set BUILDROOT_LOCAL to whatever in 
your shell environment so you can store your project
files outside the buildroot source tree.

Best Regards
Ulf Samuelsson.

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

* [Buildroot] Buildroot Not Using Saved Config for Linux
  2009-01-06 18:31 ` [Buildroot] Buildroot Not Using Saved Config for Linux Ulf Samuelsson
@ 2009-01-06 20:40   ` Quick X
  2009-01-06 22:43   ` Quick X
  1 sibling, 0 replies; 8+ messages in thread
From: Quick X @ 2009-01-06 20:40 UTC (permalink / raw)
  To: buildroot


My apologies, I'm still very new at this so maybe this is just me, however, I'm still unable to get it to work.
 
To clarify, what your saying is that when I do "$ make BOARD=MYPROJECT" and there is a "local/MYPROJECT/linux-2.6.24.3.config", and the "BR2_PACKAGE_LINUX_KCONFIG" is set to ".//local/at91sam9261ek/linux-2.6.24.3.config".  Then where it's actually looking for the linux config is:
 
"buildroot/local/MYPROJECT/local/MYPROJECT/linux-2.6.24.3.config"?  Thus I have to do "$ make BOARD=at91sam9261ek getconfig" and then issue a "make"?  I've just tried the following examples:
 
--Start From Scratch with using my local dir--
$ svn co svn://uclibc.org/trunk/buildroot -r 24237 buildroot
$ cd buildroot
$ cp -rap ../local/ local/
$ make menuconfig (SAVE EXIT)
$ make BOARD=MYPROJECT getconfig
$ make
--Result--
"buildroot/local/MYPROJECT/MYPROJECT.config" is used, however "buildroot/local/MYPROJECT/linux-2.6.24.3.config" is not used; it creates a brand new config based on the kernels at91sam9261ek_defconfig.  This is how it acts even if I don't issue the "getconfig" command.
 

--Start With Linux Directory Already Extracted--
$ svn co svn://uclibc.org/trunk/buildroot -r 24237 buildroot
$ make menuconfig (SAVE EXIT)
$ make at91sam9261ek_defconfig
[[WAIT Till FINISH]]
$ make clean
$ rm -rf binaries
$ make linux26-menuconfig (DISABLE 16Bit NAND Flash Bus)
$ make saveconfig
$ make linux26-menuconfig (ENABLE 16Bit NAND Flash Bus)
$ make BOARD=MYPROJECT getconfig
$ make            ALSO Tried        $ make BOARD=MYPROJECT
--Result--
The "Enable 16Bit NAND Flash Bus" config is used, not the saved "Disable 16Bit NAND Flash Bus" config.

 
 
> It does not modify the ?$(TOPDIR)/.config file,so you
> will still be using the same paths.
Aye, I did notice this.  However, when I Issue a "make BOARD=MYPROJECT", for me, it does use the "buildroot/local/MYPROJECT/MYPROJECT.config", ignoring the "buildroot/.config" config.
 

> If you want to use the new board stuff, you have to do
> $ make BOARD=MYPROJECT getconfig 
Even after issuing this command, and doing "make" or "make BOARD=MYPROJECT', the linux config still isn't getting used properly.
 
 
> Note that you can set BUILDROOT_LOCAL to whatever in 
> your shell environment so you can store your project
> files outside the buildroot source tree.

Ahh I didn't know this.  I only use the local directory inside the buildroot tree right now, however, it's good to know for the future.  Thanks
 
 
 
------Below is a snipplet of the make log file of "Example 1" if it is helpful----------
$ svn co svn://uclibc.org/trunk/buildroot -r 24237 buildroot
$ cp -rap ../local/ local/
$ make menuconfig (SAVe EXIT)
$ make BOARD=at91sam9261ek getconfig
$ make
[[[SNIP]]]
rm -rf /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3
*** Unpacking kernel source
bzcat /home/dustin/buildroot/dl/linux-2.6.24.tar.bz2 | tar -C /home/dustin/buildroot/project_build_arm/at91sam9261ek   -xf -
# Rename the dir from the downloaded version to the AFTER patch version
mv -f /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24 /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3
touch /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.unpacked
toolchain/patch-kernel.sh /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3 /home/dustin/buildroot/dl patch-2.6.24.3.bz2
toolchain/patch-kernel.sh /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3 toolchain/kernel-headers \
                linux-2.6.24.3-\*.patch{,.gz,.bz2}
touch /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.patched
if [ -d target/device/Atmel/arch-arm/kernel-patches-2.6.24 ] ; then \
        toolchain/patch-kernel.sh /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3 target/device/Atmel/arch-arm/kernel-patches-2.6.24 \
                linux-\*.patch{,.gz,.bz2} ; \
        fi
touch /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.patched.arch
if [ -d target/device/Atmel/at91sam9261ek/kernel-patches/ ] ; then \
        toolchain/patch-kernel.sh /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3 target/device/Atmel/at91sam9261ek/kernel-patches/ \
                linux-2.6.24.3\*.patch{,.gz,.bz2} ; \
        fi
touch /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.patched.board
# Try user defined config
if [ -f "target/device/Atmel/at91sam9261ek/at91sam9261ek-linux-2.6.24.3.config" ] ; then \
                cp -dpf target/device/Atmel/at91sam9261ek/at91sam9261ek-linux-2.6.24.3.config /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config ; \
        fi
# Try to get a config for this linux version in the board directory
echo "LINUX26_VERSION = 2.6.24.3"
LINUX26_VERSION = 2.6.24.3
if [ ! -f "/home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config" ] ; then \
            if [ -f "target/device/Atmel/at91sam9261ek/at91sam9261ek-linux-2.6.24.3.config" ] ; then \
                cp -dpf target/device/Atmel/at91sam9261ek/at91sam9261ek-linux-2.6.24.3.config /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config ; \
            fi ; \
        fi
# Try to get a config for latest linux version in the board directory
if [ ! -f "/home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config" ] ; then \
                scripts/get_linux_config.sh target/device/Atmel/at91sam9261ek /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3 ; \
        fi
Copying at91sam9261ek-linux-2.6.21.1.config ...
Copying at91sam9261ek-linux-2.6.22.1.config ...
# Use a board config defined in the linux source.
if [ ! -f "/home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config" ] ; then \
                /usr/bin/make -j2 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm CFLAGS_KERNEL="-Os -I/home/dustin/buildroot/build_arm/staging_dir/usr/include -I/home/dustin/buildroot/build_arm/staging_dir/include --sysroot=/home/dustin/buildroot/build_arm/staging_dir/ -isysroot /home/dustin/buildroot/build_arm/staging_dir -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" INSTALL_MOD_PATH=/home/dustin/buildroot/project_build_arm/at91sam9261ek/root CROSS_COMPILE=/home/dustin/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc- LDFLAGS="-L/home/dustin/buildroot/build_arm/staging_dir/lib -L/home/dustin/buildroot/build_arm/staging_dir/usr/lib --sysroot=/home/dustin/buildroot/build_arm/staging_dir/" LZMA="/home/dustin/buildroot/toolchain_build_arm/bin/lzma" -C /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3 at91sam9261ek_defconfig || \
                        echo "at91sam9261ek_defconfig failed..." ; \
        fi
# let the user create his/her own config
if [ ! -f "/home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config" ] ; then \
                /usr/bin/make -j2 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm CFLAGS_KERNEL="-Os -I/home/dustin/buildroot/build_arm/staging_dir/usr/include -I/home/dustin/buildroot/build_arm/staging_dir/include --sysroot=/home/dustin/buildroot/build_arm/staging_dir/ -isysroot /home/dustin/buildroot/build_arm/staging_dir -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" INSTALL_MOD_PATH=/home/dustin/buildroot/project_build_arm/at91sam9261ek/root CROSS_COMPILE=/home/dustin/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc- LDFLAGS="-L/home/dustin/buildroot/build_arm/staging_dir/lib -L/home/dustin/buildroot/build_arm/staging_dir/usr/lib --sysroot=/home/dustin/buildroot/build_arm/staging_dir/" LZMA="/home/dustin/buildroot/toolchain_build_arm/bin/lzma" -C /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3 xconfig ; \
        fi
/home/dustin/buildroot/toolchain_build_arm/bin/sed -i -e 's,^EXTRAVERSION.*,EXTRAVERSION = .3,g' /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/Makefile
/home/dustin/buildroot/toolchain_build_arm/bin/sed -i -e '/CONFIG_AEABI=y/d' /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config
echo "# CONFIG_AEABI is not set">> /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config
/home/dustin/buildroot/toolchain_build_arm/bin/sed -i -e '/CONFIG_IPV6=y/d' /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config
echo "CONFIG_IPV6=y">> /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config
/home/dustin/buildroot/toolchain_build_arm/bin/sed -i -e '/CONFIG_INITRAMFS_SOURCE/d' /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config
/home/dustin/buildroot/toolchain_build_arm/bin/sed -i -e '/INITRAMFS_ROOT_.ID/d' /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config
echo "CONFIG_INITRAMFS_SOURCE=\"\"">> /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3/.config
/usr/bin/make -j2 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm CFLAGS_KERNEL="-Os -I/home/dustin/buildroot/build_arm/staging_dir/usr/include -I/home/dustin/buildroot/build_arm/staging_dir/include --sysroot=/home/dustin/buildroot/build_arm/staging_dir/ -isysroot /home/dustin/buildroot/build_arm/staging_dir -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" INSTALL_MOD_PATH=/home/dustin/buildroot/project_build_arm/at91sam9261ek/root CROSS_COMPILE=/home/dustin/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc- LDFLAGS="-L/home/dustin/buildroot/build_arm/staging_dir/lib -L/home/dustin/buildroot/build_arm/staging_dir/usr/lib --sysroot=/home/dustin/buildroot/build_arm/staging_dir/" LZMA="/home/dustin/buildroot/toolchain_build_arm/bin/lzma" -C /home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3 oldconfig
make[1]: Entering directory `/home/dustin/buildroot/project_build_arm/at91sam9261ek/linux-2.6.24.3'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o arch/arm/Kconfig
.config:42:warning: trying to assign nonexistent symbol IPC_NS
.config:47:warning: trying to assign nonexistent symbol UTS_NS
.config:173:warning: trying to assign nonexistent symbol ATMEL_TCLIB
.config:582:warning: trying to assign nonexistent symbol USB_USBNET_MII
.config:621:warning: trying to assign nonexistent symbol INPUT_TSDEV
.config:622:warning: trying to assign nonexistent symbol INPUT_TSDEV_SCREEN_X
.config:623:warning: trying to assign nonexistent symbol INPUT_TSDEV_SCREEN_Y
.config:728:warning: trying to assign nonexistent symbol I2C_ATMELTWI
.config:729:warning: trying to assign nonexistent symbol I2C_ATMELTWI_BAUDRATE
.config:731:warning: trying to assign nonexistent symbol I2C_AT91_CLOCKRATE
.config:738:warning: trying to assign nonexistent symbol I2C_PCA
.config:891:warning: trying to assign nonexistent symbol FB_S1D15605
.config:1262:warning: trying to assign nonexistent symbol RAMFS
.config:1457:warning: trying to reassign symbol AEABI
*
* Linux Kernel Configuration
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
Local version - append to kernel release (LOCALVERSION) []
Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n
Support for paging of anonymous memory (swap) (SWAP) [N/y/?] n
System V IPC (SYSVIPC) [Y/n/?] y
POSIX Message Queues (POSIX_MQUEUE) [N/y/?] n
BSD Process Accounting (BSD_PROCESS_ACCT) [N/y/?] n
Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] n
User Namespaces (EXPERIMENTAL) (USER_NS) [N/y/?] (NEW)
PID Namespaces (EXPERIMENTAL) (PID_NS) [N/y/?] (NEW)
[[[SNIP local/MYPROJECT/linux Config Isn't Being Used]]]
_________________________________________________________________
Show them the way! Add maps and directions to your party invites.
http://www.microsoft.com/windows/windowslive/events.aspx

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

* [Buildroot] Buildroot Not Using Saved Config for Linux
  2009-01-06 18:31 ` [Buildroot] Buildroot Not Using Saved Config for Linux Ulf Samuelsson
  2009-01-06 20:40   ` Quick X
@ 2009-01-06 22:43   ` Quick X
  2009-01-07 10:30     ` Ulf Samuelsson
  1 sibling, 1 reply; 8+ messages in thread
From: Quick X @ 2009-01-06 22:43 UTC (permalink / raw)
  To: buildroot


Ahh, I just noticed that this bug was already subitted here a few months ago at:
http://lists.busybox.net/pipermail/buildroot/2008-November/024028.html
 
He words the problem better than I.  Cheers, NB
_________________________________________________________________

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

* [Buildroot] Buildroot Not Using Saved Config for Linux
  2009-01-06 22:43   ` Quick X
@ 2009-01-07 10:30     ` Ulf Samuelsson
  2009-01-07 20:51       ` Quick X
  0 siblings, 1 reply; 8+ messages in thread
From: Ulf Samuelsson @ 2009-01-07 10:30 UTC (permalink / raw)
  To: buildroot

tis 2009-01-06 klockan 14:43 -0800 skrev Quick X:
> Ahh, I just noticed that this bug was already subitted here a few months ago at:
> http://lists.busybox.net/pipermail/buildroot/2008-November/024028.html

This line is the problem.

target/device/Atmel/Makefile.in:LINUX26_KCONFIG:=
$(BOARD_PATH)/$(BOARD_NAME)-linux-$(LINUX26_VERSION).config

This forces the linux to ALWAYS try the config
with an identical kernel major/minor first
if there is one in the board directory.

Not so useful if you have your own project...
Comment that out, and it will work.

The real solution is elsewhere.
I think that if the make saveconfig needs to be updated
so that BR2_BOARD_PATH is $(LOCAL)/$(PROJECT)
I just committed that.

If you update the svn then it might work.




> He words the problem better than I.  Cheers, NB
> _________________________________________________________________
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] Buildroot Not Using Saved Config for Linux
  2009-01-07 10:30     ` Ulf Samuelsson
@ 2009-01-07 20:51       ` Quick X
  0 siblings, 0 replies; 8+ messages in thread
From: Quick X @ 2009-01-07 20:51 UTC (permalink / raw)
  To: buildroot


> Comment that out, and it will work.
Yes, I just tried commenting out that line with my Rev24237 Buildroot and my local linux config get applied, thank you.

> The real solution is elsewhere.
> If you update the svn then it might work.
I've had problems updating buildroot to a newer revesion for a little while now, which is why I use R24237 (about a month old).  I just tried the newest version today, and even after switch my project to uClibc .30, it gave me different errors about not finding mkimage, so I was unable to test it very well.
 
Regardless, when I do update the revision, I'll keep what you changed in mind :)  Thank you.
_________________________________________________________________
Keep in touch and up to date with friends and family. Make the connection now.
http://www.microsoft.com/windows/windowslive/

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

end of thread, other threads:[~2009-01-07 20:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-05 23:11 [Buildroot] Buildroot Not Using Saved Config for Linux Quick X
2009-01-06  1:34 ` [Buildroot] Cups compile problem Daniel
2009-01-06  4:24   ` [Buildroot] _Cups_compile_problem Daniel
2009-01-06 18:31 ` [Buildroot] Buildroot Not Using Saved Config for Linux Ulf Samuelsson
2009-01-06 20:40   ` Quick X
2009-01-06 22:43   ` Quick X
2009-01-07 10:30     ` Ulf Samuelsson
2009-01-07 20:51       ` Quick X

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