Hitchhiker Linux source tree
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
484 B

# Makefile - hhl - /usr/src/world/linux-headers
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
distname = linux
config_tgt = ${objdir}/Makefile
include world.mk
config_cmd = $(MAKE) -C ${srcdir} mrproper
build_cmd = KBUILD_OUTPUT=${objdir} $(MAKE) -C ${srcdir} headers
define post_build
find ${objdir}/usr/include -name '.*' -delete
rm -rf ${objdir}/usr/include/Makefile || true
endef
install_cmd = cp -r ${objdir}/usr/include/* /usr/include
include targets.mk