summaryrefslogtreecommitdiff
path: root/Makefile.d
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.d')
-rw-r--r--Makefile.d/addseabios.mk18
-rw-r--r--Makefile.d/build-release.mk17
-rw-r--r--Makefile.d/build.mk20
-rw-r--r--Makefile.d/buildrom-withgrub.mk20
-rw-r--r--Makefile.d/grub-mkstandalone.mk18
-rw-r--r--Makefile.d/modules.mk20
-rw-r--r--Makefile.d/modules/coreboot.mk18
-rw-r--r--Makefile.d/modules/flashrom.mk18
-rw-r--r--Makefile.d/modules/grub.mk18
-rw-r--r--Makefile.d/modules/grubinvaders.mk18
-rw-r--r--Makefile.d/modules/memtest86.mk18
-rw-r--r--Makefile.d/modules/seabios.mk18
12 files changed, 218 insertions, 3 deletions
diff --git a/Makefile.d/addseabios.mk b/Makefile.d/addseabios.mk
index 50c4af6..69364a8 100644
--- a/Makefile.d/addseabios.mk
+++ b/Makefile.d/addseabios.mk
@@ -1,3 +1,21 @@
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
roms/%_with_seabios.rom: roms/%.rom \
src/$(host_arch)/seabios/out/vgabios.bin \
src/$(host_arch)/seabios/out/bios.bin.elf \
diff --git a/Makefile.d/build-release.mk b/Makefile.d/build-release.mk
index b3fa125..d2a0f14 100644
--- a/Makefile.d/build-release.mk
+++ b/Makefile.d/build-release.mk
@@ -1,3 +1,20 @@
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
dist_utils = \
bucts \
diff --git a/Makefile.d/build.mk b/Makefile.d/build.mk
index 478fdc5..11825c3 100644
--- a/Makefile.d/build.mk
+++ b/Makefile.d/build.mk
@@ -1,3 +1,21 @@
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
define rule_grub_cfg
tmp/grub_%(keymap)_%(romtype).cfg: \
resources/grub/config/extra/common.cfg resources/grub/config/menuentries/common.cfg \
@@ -12,6 +30,6 @@ tmp/grub_%(keymap)_%(romtype).cfg: \
endef
$(eval $(call multiglob,grub_cfg,keymap romtype))
-# % = $(keymap)_$(romtype)
+# % = %(keymap)_%(romtype)
tmp/grub_%_test.cfg: tmp/grub_%.cfg
sed 's/grubtest.cfg/grub.cfg/' < $< > $@
diff --git a/Makefile.d/buildrom-withgrub.mk b/Makefile.d/buildrom-withgrub.mk
index 2a30217..c032f11 100644
--- a/Makefile.d/buildrom-withgrub.mk
+++ b/Makefile.d/buildrom-withgrub.mk
@@ -1,4 +1,22 @@
-# % = $(board)
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+# % = %(board)
resources/libreboot/config/%_vesafb_config: resources/libreboot/config/%_txtmode_config
sed 's/# CONFIG_FRAMEBUFFER_KEEP_VESA_MODE is not set/CONFIG_FRAMEBUFFER_KEEP_VESA_MODE=y/' < $< > $@
diff --git a/Makefile.d/grub-mkstandalone.mk b/Makefile.d/grub-mkstandalone.mk
index 040d342..e2770b1 100644
--- a/Makefile.d/grub-mkstandalone.mk
+++ b/Makefile.d/grub-mkstandalone.mk
@@ -1,3 +1,21 @@
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
include resources/utilities/grub-assemble/modules.conf
grub_txtmode_memdisk_grafts = \
diff --git a/Makefile.d/modules.mk b/Makefile.d/modules.mk
index 0a541f4..01be29d 100644
--- a/Makefile.d/modules.mk
+++ b/Makefile.d/modules.mk
@@ -1,3 +1,21 @@
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
# Easy names for tmp/builddeps-stamps/%
$(foreach arch,$(arches),$(foreach module,$(modules), builddeps-$(arch)/$(module) )): builddeps-%: PHONY tmp/builddeps-stamps/%
@@ -28,7 +46,7 @@ endef
$(eval $(call multiglob,download,arch module))
# "builddeps" and "cleandeps" rules
-# % = arch/module
+# % = %(arch)/%(module)
tmp/builddeps-stamps/%: src/%
cd $< && { test -f ./Makefile || test -x ./configure || ./autogen.sh; }
cd $< && { test -f ./Makefile || ./configure $($(*F)_configure); }
diff --git a/Makefile.d/modules/coreboot.mk b/Makefile.d/modules/coreboot.mk
index 0101d7a..11177fb 100644
--- a/Makefile.d/modules/coreboot.mk
+++ b/Makefile.d/modules/coreboot.mk
@@ -1,3 +1,21 @@
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
coreboot_source = git+http://review.coreboot.org/coreboot\#commit=c637a887dde1c63bf3863e70cbe19dedf5f6ca02
coreboot_patches = resources/coreboot/patch/DEBLOB
diff --git a/Makefile.d/modules/flashrom.mk b/Makefile.d/modules/flashrom.mk
index d7dcb94..32eedb8 100644
--- a/Makefile.d/modules/flashrom.mk
+++ b/Makefile.d/modules/flashrom.mk
@@ -1,3 +1,21 @@
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
flashrom_source = svn://flashrom.org/flashrom/trunk\#revision=1854
flashrom_patches = $(wildcard resources/flashrom/patch/flashchips_*.c)
diff --git a/Makefile.d/modules/grub.mk b/Makefile.d/modules/grub.mk
index 3f392aa..c7cef90 100644
--- a/Makefile.d/modules/grub.mk
+++ b/Makefile.d/modules/grub.mk
@@ -1,3 +1,21 @@
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
grub_source = git://git.savannah.gnu.org/grub.git\#commit=e2dd6daa8c33e3e7641e442dc269fcca479c6fda
grub_patches = resources/grub/patch/gitdiff
diff --git a/Makefile.d/modules/grubinvaders.mk b/Makefile.d/modules/grubinvaders.mk
index 01d1c0c..dbed74a 100644
--- a/Makefile.d/modules/grubinvaders.mk
+++ b/Makefile.d/modules/grubinvaders.mk
@@ -1,3 +1,21 @@
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
grubinvaders_source = http://www.erikyyy.de/invaders/invaders-1.0.0.tar.gz
grubinvaders_patches = resources/grubinvaders/patch/diff.patch resources/grubinvaders/patch/compile.sh.patch
diff --git a/Makefile.d/modules/memtest86.mk b/Makefile.d/modules/memtest86.mk
index 97a644d..8230fcc 100644
--- a/Makefile.d/modules/memtest86.mk
+++ b/Makefile.d/modules/memtest86.mk
@@ -1,3 +1,21 @@
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
memtest86_source = http://www.memtest.org/download/5.01/memtest86+-5.01.tar.gz
memtest86_patches = resources/memtest86/patch/config.h resources/memtest86/patch/Makefile
diff --git a/Makefile.d/modules/seabios.mk b/Makefile.d/modules/seabios.mk
index 215bae3..e6df5a2 100644
--- a/Makefile.d/modules/seabios.mk
+++ b/Makefile.d/modules/seabios.mk
@@ -1,3 +1,21 @@
+#
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2014 Luke Shumaker <lukeshu@sbcglobal.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
seabios_source = git://git.seabios.org/seabios.git\#commit=9f505f715793d99235bd6b4afb2ca7b96ba5729b
$(foreach arch,$(arches),tmp/builddeps-stamps/$(arch)/seabios): \