Skip to contentSkip to conversation

Extending SDK

DISCUSSION Gary Thomas 2 participants 4 messages Nov 24, 2010

lore
Share & tools
lore
#0 lore raw

I've built meta-toolchain-sdk and although it was saved in the wrong place, all seems to be working well. Until I tried to build a program that uses some package which was not part of
the "default" set. In particular, I tried to build 'xeyes'
outside of Poky using the SDK, but it needs xt and xmu libraries which are built for my target, but weren't in the SDK I built.

Questions:
* Did I miss something in building the SDK that left these out?
* Is there a way, hopefully straight forward, of adding additonal packages to the SDK? Can this be done incrementally, i.e. I already have an SDK installed, can I do some magic to just add the xt support?

I looked through the handbook, but didn't find much information on this.

Thanks for any pointers

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 7 lines · Gary Thomas

I've built meta-toolchain-sdk and although it was saved in the wrong place, all seems to be working well. Until I tried to build a program that uses some package which was not part of
the "default" set. In particular, I tried to build 'xeyes'
outside of Poky using the SDK, but it needs xt and xmu libraries which are built for my target, but weren't in the SDK I built.

Quoted 7 lines

Questions:
* Did I miss something in building the SDK that left these out?
* Is there a way, hopefully straight forward, of adding additonal packages to the SDK? Can this be done incrementally, i.e. I already have an SDK installed, can I do some magic to just add the xt support?

The SDK currently installs a fixed set of packages, the headers deemed useful for gnome-mobile development - this isn't currently very useful and is an area I'd like to improve.

The SDK does come with a package manager (opkg-cl) which you should be able to configure to point at your existing feeds and then use to install additional headers into your SDK.

Cheers,
Joshua

Signature · 2 lines
Joshua Lock
        Intel Open Source Technology Centre
#2 lore raw
Quoted 16 lines · Joshua Lock
Quoted 7 lines · Gary Thomas

I've built meta-toolchain-sdk and although it was saved in the wrong place, all seems to be working well. Until I tried to build a program that uses some package which was not part of
the "default" set. In particular, I tried to build 'xeyes'
outside of Poky using the SDK, but it needs xt and xmu libraries which are built for my target, but weren't in the SDK I built.

Quoted 7 lines

Questions:
* Did I miss something in building the SDK that left these out?
* Is there a way, hopefully straight forward, of adding additonal packages to the SDK? Can this be done incrementally, i.e. I already have an SDK installed, can I do some magic to just add the xt support?

Quoted 7 lines

The SDK currently installs a fixed set of packages, the headers deemed useful for gnome-mobile development - this isn't currently very useful and is an area I'd like to improve.

The SDK does come with a package manager (opkg-cl) which you should be able to configure to point at your existing feeds and then use to install additional headers into your SDK.

Thanks, I'll give it a try. I suppose that I'd need to install the -dev packages for the stuff I want?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
Quoted 21 lines · Gary Thomas
Quoted 20 lines · Joshua Lock
Quoted 7 lines · Gary Thomas

I've built meta-toolchain-sdk and although it was saved in the wrong place, all seems to be working well. Until I tried to build a program that uses some package which was not part of
the "default" set. In particular, I tried to build 'xeyes'
outside of Poky using the SDK, but it needs xt and xmu libraries which are built for my target, but weren't in the SDK I built.

Quoted 7 lines

Questions:
* Did I miss something in building the SDK that left these out?
* Is there a way, hopefully straight forward, of adding additonal packages to the SDK? Can this be done incrementally, i.e. I already have an SDK installed, can I do some magic to just add the xt support?

The SDK currently installs a fixed set of packages, the headers deemed useful for gnome-mobile development - this isn't currently very useful and is an area I'd like to improve.

Quoted 7 lines
Quoted 3 lines

The SDK does come with a package manager (opkg-cl) which you should be able to configure to point at your existing feeds and then use to install additional headers into your SDK.

Thanks, I'll give it a try. I suppose that I'd need to install the -dev packages for the stuff I want?

Quite right, I'd recommend the -dbg packages too if you anticipate a debugging session.

Cheers,
Joshua

Signature · 2 lines
Joshua Lock
        Intel Open Source Technology Centre