Skip to content

Commit

Permalink
var-mii: Introduce native recipe variant
Browse files Browse the repository at this point in the history
var-mii supports running on the host side as well for testing U-Boot
ethernet interfaces. Introduce a -native variant to allow this to be
utilized within the OE system.

Signed-off-by: Ken Sloat <[email protected]>
  • Loading branch information
Ken Sloat authored and nsdrude committed Jul 31, 2023
1 parent f43382a commit 18b8871
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions recipes-bsp/var-mii/var-mii-native_git.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require var-mii_git.inc

inherit native

do_install() {
install -d ${D}${STAGING_DIR_NATIVE}
install -m 0755 var-mii ${D}${STAGING_DIR_NATIVE}
}

FILES_${PN} += "${bindir}/var-mii"

0 comments on commit 18b8871

Please sign in to comment.