Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Setting environment variables to build linux kernel.
Setting environment variables to build linux kernel. [message #725535] Thu, 15 September 2011 06:14 Go to next message
tasskjapp is currently offline tasskjappFriend
Messages: 2
Registered: September 2011
Junior Member
I've setup a CDT project in Eclipse to work with the linux kernel, using the existing Makefile.

From CLI I would build like this:
ARCH=arm && export ARCH
PATH=/opt/toolchains/arm/bin:$PATH
make CROSS_COMPILE=arm-angstrom-linux-gnueabi- uImage

I've tried to setup these environment variables in Build Variables for my project, but it won't work. What is the proper way to do this? I suspect setting it in /etc/profile will work, but I don't want this always enabled.
Re: Setting environment variables to build linux kernel. [message #725544 is a reply to message #725535] Thu, 15 September 2011 06:43 Go to previous message
tasskjapp is currently offline tasskjappFriend
Messages: 2
Registered: September 2011
Junior Member
Oh crap. Please forget I asked this. Two lines below I found "Environment". I must have been temporary blind...
Previous Topic:Formatter Removing Preprocessor Conditionals
Next Topic:Auto discovery
Goto Forum:
  


Current Time: Tue May 07 15:16:50 GMT 2024

Powered by FUDForum. Page generated in 0.03001 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top