mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
* fix arch/io.h to use consistent types * add compression code and start integration into Kconfig * update to newer version of Kconfig, and rename some occurences of "Linux" to "LinuxBIOS" * set up Make framework to create linuxbios.rom Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ronald G Minnich <rminnich@lanl.gov> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@55 f3766cd6-281f-0410-b1cd-43a5c92072e9
32 lines
597 B
Bash
32 lines
597 B
Bash
#!/bin/sh
|
|
# Generates a small Makefile used in the root of the output
|
|
# directory, to allow make to be started from there.
|
|
# The Makefile also allow for more convinient build of external modules
|
|
|
|
# Usage
|
|
# $1 - Kernel src directory
|
|
# $2 - Output directory
|
|
# $3 - version
|
|
# $4 - patchlevel
|
|
|
|
|
|
cat << EOF
|
|
# Automatically generated by $(basename $0): don't edit
|
|
|
|
VERSION = $3
|
|
PATCHLEVEL = $4
|
|
|
|
KERNELSRC := $1
|
|
KERNELOUTPUT := $2
|
|
export ARCH := $ARCH
|
|
|
|
MAKEFLAGS += --no-print-directory
|
|
|
|
all:
|
|
\$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT)
|
|
|
|
%::
|
|
\$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$@
|
|
|
|
EOF
|
|
|