mirror of
https://git.yoctoproject.org/poky
synced 2026-02-14 20:53:03 +01:00
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
49 lines
979 B
BlitzBasic
49 lines
979 B
BlitzBasic
require linux-libc-headers.inc
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
DEPENDS += "unifdef-native"
|
|
PR = "r0"
|
|
|
|
SRC_URI += "file://hayes-gone.patch \
|
|
file://ppc_glibc_build_fix.patch"
|
|
|
|
S = "${WORKDIR}/linux-${PV}"
|
|
|
|
set_arch() {
|
|
case ${TARGET_ARCH} in
|
|
alpha*) ARCH=alpha ;;
|
|
arm*) ARCH=arm ;;
|
|
cris*) ARCH=cris ;;
|
|
hppa*) ARCH=parisc ;;
|
|
i*86*) ARCH=i386 ;;
|
|
ia64*) ARCH=ia64 ;;
|
|
mips*) ARCH=mips ;;
|
|
m68k*) ARCH=m68k ;;
|
|
powerpc*) ARCH=powerpc ;;
|
|
s390*) ARCH=s390 ;;
|
|
sh*) ARCH=sh ;;
|
|
sparc64*) ARCH=sparc64 ;;
|
|
sparc*) ARCH=sparc ;;
|
|
x86_64*) ARCH=x86_64 ;;
|
|
avr32*) ARCH=avr32 ;;
|
|
bfin*) ARCH=blackfin ;;
|
|
esac
|
|
}
|
|
|
|
do_configure() {
|
|
set_arch
|
|
oe_runmake allnoconfig ARCH=$ARCH
|
|
}
|
|
|
|
do_compile () {
|
|
}
|
|
|
|
do_install() {
|
|
set_arch
|
|
oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
|
|
# Kernel should not be exporting this header
|
|
rm -f ${D}${exec_prefix}/include/scsi/scsi.h
|
|
}
|
|
|
|
BBCLASSEXTEND = "nativesdk"
|