Add convenience target for building new kernel headers package
This commit is contained in:
parent
cbb462b84a
commit
672aa74947
1
.gitignore
vendored
1
.gitignore
vendored
@ -75,6 +75,7 @@
|
||||
/toaruos-big.iso
|
||||
/modpack.kop
|
||||
/cdrom/
|
||||
/kernel-headers.img
|
||||
|
||||
# Toolchain
|
||||
/toolchain/build
|
||||
|
14
Makefile
14
Makefile
@ -444,6 +444,20 @@ netboot.img.gz: _cdrom/ramdisk.img.gz
|
||||
fix-cd:
|
||||
$(call fixup-cd)
|
||||
|
||||
|
||||
##############
|
||||
# packages #
|
||||
##############
|
||||
|
||||
kernel-headers.img.gz: kernel/include
|
||||
@${BEG} "pack" "$@"
|
||||
@rm -rf _kernel
|
||||
@mkdir _kernel
|
||||
@cp -rL kernel/include/* _kernel/
|
||||
@${GENEXT} -B 4096 -d _kernel -U -b 170 $@ ${ERRORS}
|
||||
@rm -r _kernel
|
||||
@${END} "pack" "$@"
|
||||
|
||||
##############
|
||||
# ctags #
|
||||
##############
|
||||
|
Loading…
Reference in New Issue
Block a user