#!/bin/sh
# Copyright © 1999-2020 Gerard Beekmans
# Copyright © 2017-2020 Random Crew
# Distributed under the terms of MIT License.
MY_P="${PN%-headers}-${PV}"
MY_PD="${MY_P}"
src_config()
{
return
}
src_compile()
{
make mrproper
}
src_install()
{
make headers
mkdir -p ${D}/${PREFIX}/include
cp -r usr/include/* ${D}/${PREFIX}/include
}
- url.lfs.stage1: https://linuxfromscratch.org/lfs/view/9.1/chapter05/linux-headers.html
- url.lfs: https://linuxfromscratch.org/lfs/view/9.1/chapter06/linux-headers.html