]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
kernel: fix build.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 27 Nov 2014 06:57:54 +0000 (07:57 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 27 Nov 2014 06:57:54 +0000 (07:57 +0100)
lfs/linux

index 2e8a55895b09bbd2ecd6c7069034ff5baa3d95f5..7e7714f4572f31fda599b47f691a9f8687e7e39b 100644 (file)
--- 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