Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Local.conf
- -----------------------
- NO32LIBS = "0"
- require conf/multilib.conf
- MULTILIBS = "multilib:lib32"
- DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
- IMAGE_INSTALL_append = " lib32-helloworld"
- ---------------
- $ cat helloworld.bbappend
- BBCLASSEXTEND += "native"
- BBCLASSEXTEND += " multilib:lib32"
- MLPREFIX="lib32-"
- root@kboxa101:~# dpkg --list | grep lib32
- ii lib32-helloworld 1.0-r0 i386 lib32-helloworld version 1.0-r0
- ii lib32-helloworld-dbg 1.0-r0 i386 lib32-helloworld version 1.0-r0 - Debugging files
- ii lib32-libc6 2.20-r0 i386 GLIBC (GNU C Library)
- ii lib32-libc6-dbg 2.20-r0 i386 GLIBC (GNU C Library) - Debugging files
- root@kboxa101:~# helloworld
- Hello World, care to play chess?!
- root@kboxa101:~#
- root@kboxa101:~# uname -a
- Linux kboxa101 3.17.8-yocto-standard #1 SMP PREEMPT Fri Aug 14 09:36:01 CEST 2015 x86_64 GNU/Linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement