summaryrefslogtreecommitdiff
path: root/util/autoport/azalia.go
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-05-01 10:33:56 +0200
committerNico Huber <nico.h@gmx.de>2017-10-06 13:48:32 +0000
commit5930285206ba4fd661a68a0d0d9ccf9850620d82 (patch)
tree5b54d0286fb5bab2a6e2a6f823d5ce5b7aa6cf67 /util/autoport/azalia.go
parent128205fd087cc43f4cf9c7a947af5b951bcf2339 (diff)
downloadcoreboot-5930285206ba4fd661a68a0d0d9ccf9850620d82.tar.xz
autoport: Add GPL boilerplate header to not empty .c files
The idea behind this not to enforce a license on autogenerated code but is simply out of convenience in the case one wants to make the result public (in which case it needs to have these license headers). Change-Id: I1d6b48762b1249bb0becb178a30e1396bf6978fc Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/19510 Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util/autoport/azalia.go')
-rw-r--r--util/autoport/azalia.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/autoport/azalia.go b/util/autoport/azalia.go
index 2ee60d7335..c525189972 100644
--- a/util/autoport/azalia.go
+++ b/util/autoport/azalia.go
@@ -12,6 +12,7 @@ func (i azalia) Scan(ctx Context, addr PCIDevData) {
az := Create(ctx, "hda_verb.c")
defer az.Close()
+ Add_gpl(az)
az.WriteString(
`#include <device/azalia_device.h>