]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/linux-initrd
core160: add updatexlerator.cgi
[ipfire-2.x.git] / lfs / linux-initrd
index 25386b1bf828fb9ca3afc7bb8dd4e73ccce62060..64e08fa815c7e7c7c399d39d2efb0f21c4bfdb89 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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        #
@@ -60,7 +60,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # Create initramfs images
        dracut --force --early-microcode --verbose --strip --xz /boot/initramfs-$(KVER)-$(VERSUFIX).img $(KVER)-$(VERSUFIX)
 
-ifeq "$(KCFG)" "-multi"
+ifeq "$(BUILD_ARCH)" "armv6l"
        cd /boot && mkimage -A arm -T ramdisk -C lzma -d initramfs-$(KVER)-$(VERSUFIX).img uInit-$(KVER)-$(VERSUFIX)
        cd /boot && rm initramfs-$(KVER)-$(VERSUFIX).img
 endif