Skip to contentSkip to conversation

libav package

Buildroot Michael J. Hammel 2 participants 2 messages Apr 20, 2011 – Apr 26, 2011

lore
Share & tools
lore
#0 lore raw

I've created a libav package for 2011.02 based on the ffmpeg package. It builds okay but I haven't tested it with any apps yet (working toward an omapfbplay package). There is one question before submitting a patch for it. To get it to build I had to add the following config option:

--target-os=linux

I tried setting this to

--target-os=$(GNU_TARGET_NAME)

but that generates linux-os which libav doesn't like. Is it okay to leave it hardcoded like this or is there a Buildroot variable I should be using here?

One other question: what's the correct command for creating the patch for this? I'd want to pick up both the multimedia/Config.in change and the new directory therein. I've created patches before but not for adding a new directory like this.

Thanks.

Signature · 1 line
Michael J. Hammel <[email protected]>
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Michael" == Michael J Hammel <[email protected]> writes:

Michael> I've created a libav package for 2011.02 based on the ffmpeg Michael> package. It builds okay but I haven't tested it with any apps Michael> yet (working toward an omapfbplay package). There is one Michael> question before submitting a patch for it. To get it to build Michael> I had to add the following config option:

Michael> --target-os=linux

Michael> I tried setting this to

Michael> --target-os=$(GNU_TARGET_NAME)

Michael> but that generates linux-os which libav doesn't like. Is it Michael> okay to leave it hardcoded like this or is there a Buildroot Michael> variable I should be using here?

No, that seems ok, as we always build for Linux.

Michael> One other question: what's the correct command for creating the patch Michael> for this? I'd want to pick up both the multimedia/Config.in change and Michael> the new directory therein. I've created patches before but not for Michael> adding a new directory like this.

Create a git branch (git checkout -b <name>), git add / git commit and then git format-patch -s master to create the patch.

Signature · 1 line
Bye, Peter Korsgaard