mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 01:16:59 +02:00
fix(sys-kernel/coreos-kernel): Drop old no-modules kernel.
This commit is contained in:
parent
0774cd0837
commit
340ce65bc8
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/vanilla-sources/vanilla-sources-3.7.5.ebuild,v 1.1 2013/01/28 13:18:54 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
CROS_WORKON_COMMIT="0507eb5ef5a83ab746677b7f19d6e3a19906c995"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
CROS_WORKON_PROJECT="coreos/linux"
|
||||
CROS_WORKON_LOCALNAME="linux"
|
||||
CROS_WORKON_OUTOFTREE_BUILD=0
|
||||
inherit cros-workon cros-kernel2
|
||||
|
||||
DESCRIPTION="CoreOS kernel"
|
||||
HOMEPAGE="http://www.kernel.org"
|
||||
SRC_URI="${KERNEL_URI}"
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/no_firmware.patch
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
From: Greg Kroah-Hartman <greg@kroah.com>
|
||||
Subject: [PATCH] firmware: disable the firmware path entirely
|
||||
|
||||
We really don't want to build firmware images into the kernel package at
|
||||
all, so rip out all references to the firmware directory that we can
|
||||
fine.
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 8818c95..0beba841 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -519,7 +519,7 @@ scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \
|
||||
|
||||
# Objects we will link into vmlinux / subdirs we need to visit
|
||||
init-y := init/
|
||||
-drivers-y := drivers/ sound/ firmware/
|
||||
+drivers-y := drivers/ sound/
|
||||
net-y := net/
|
||||
libs-y := lib/
|
||||
core-y := usr/
|
||||
@@ -944,7 +944,6 @@ modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux) modules.builtin
|
||||
$(Q)$(AWK) '!x[$$0]++' $(vmlinux-dirs:%=$(objtree)/%/modules.order) > $(objtree)/modules.order
|
||||
@$(kecho) ' Building modules, stage 2.';
|
||||
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
|
||||
- $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modbuild
|
||||
|
||||
modules.builtin: $(vmlinux-dirs:%=%/modules.builtin)
|
||||
$(Q)$(AWK) '!x[$$0]++' $^ > $(objtree)/modules.builtin
|
||||
@@ -980,7 +979,6 @@ _modinst_:
|
||||
# boot script depmod is the master version.
|
||||
PHONY += _modinst_post
|
||||
_modinst_post: _modinst_
|
||||
- $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modinst
|
||||
$(call cmd,depmod)
|
||||
|
||||
ifeq ($(CONFIG_MODULE_SIG), y)
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user