forked from GM-990/meta-sh4-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Help opkg with recipes that have COMPATIBLE_MACHINE
There's a problem in OE's opkg and that's when you use COMPATIBLE_MACHINE on a bb file, BitBake won't allow that recipe to be builded for anything other than what you wrote in COMPATIBLE_MACHINE but the builded ipk file could be installed later via opkg as it has the compatible architecture with some machines. The only way to bypass this is you use MACHINE_ARCH on any bb file that has COMPATIBLE_MACHINE so opkg won't install it later but this is a quick fix and results in more compiling time and more feed size but if we use common ipk files we could reduce them all. For example we have 'machine1', 'machine2' and 'machine3' also in the bb file we have: COMPATIBLE_MACHINE = '^(machine1|machine2|machine3)$' So BitBake will compile this for the 3 machines but later it could be installed via opkg for other machines too if they have the compatible architecture unless you use MACHINE_ARCH and compile a common packge for each of those 3 machines individually. If we could have a new field in control file of ipk files called 'Machine' and list those compatible machine opkg could check for: Machine: machine1, machine2, machine3 In the control file and do not install it for the rest. We need a new abiltiy in opkg!
- Loading branch information
1 parent
0e6d405
commit fc34f99
Showing
9 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ INITSCRIPT_PARAMS = "start 39 S ." | |
|
||
inherit update-rc.d | ||
|
||
PACKAGE_ARCH = "${MACHINE_ARCH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,5 @@ do_install () { | |
install -m 644 ${WORKDIR}/${VIDEOELF} ${D}/boot/video.elf | ||
fi | ||
} | ||
|
||
PACKAGE_ARCH = "${MACHINE_ARCH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ require sh4-apps.inc | |
|
||
FILES_${PN} += "${libdir}/libmme_host.so" | ||
FILES_${PN}-dev = "${libdir}/libmme_host.la" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters