From: Arne Fitzenreiter Date: Thu, 27 Nov 2014 06:57:54 +0000 (+0100) Subject: kernel: fix build. X-Git-Tag: v2.17-core87~103^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cee50e12f6b9a1a0915ad8a2db80b3365f55d3ba;p=ipfire-2.x.git kernel: fix build. --- diff --git a/lfs/linux b/lfs/linux index 2e8a55895b..7e7714f457 100644 --- a/lfs/linux +++ b/lfs/linux @@ -176,6 +176,7 @@ ifeq "$(KCFG)" "-rpi" cd $(DIR_APP) && xzcat $(DIR_DL)/rpi-patches-$(RPI_PATCHES).patch.xz | patch -Np1 endif +ifeq "$(KCFG)" "-headers" # Install the header files cd $(DIR_APP) && make ARCH=$(HEADERS_ARCH) INSTALL_HDR_PATH=dest headers_install -mkdir -pv $(BUILDROOT)/$(HEADERS_PREFIX)/include @@ -251,6 +252,7 @@ ifeq "$(LASTKERNEL)" "1" # Disable ipv6 at runtime echo "options ipv6 disable_ipv6=1" > /etc/modprobe.d/ipv6.conf endif +endif endif #force new build of external modules and initrd if the kernel was rebuild