X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Flinux;h=96e2b4c99ab8833866f5e9ecd61ae3a9e81bd010;hp=1efdc28048a41cd82b6d407e7854fdcdb2dc5d8d;hb=ee78a5efc7c5a5aa81d4d3c24166aa0a5a951228;hpb=f2fdd0c1e9a3ccf539cd477a6111281eadc200a7 diff --git a/lfs/linux b/lfs/linux index 1efdc28048..96e2b4c99a 100644 --- a/lfs/linux +++ b/lfs/linux @@ -204,5 +204,10 @@ endif # remove symlinked pcmcia directory -rm -rf /lib/modules/$(VER)-ipfire{,-smp}/pcmcia +ifeq "$(SMP)" "" + # Only do this once on the non-SMP pass + $(DIR_APP) && install -m 755 usr/gen_init_cpio /sbin/ +endif + @rm -rf $(DIR_SRC)/patch-o-matic* $(DIR_SRC)/iptables* $(DIR_SRC)/squashfs* $(DIR_SRC)/mISDN-* $(DIR_SRC)/netfilter-layer7-* @$(POSTBUILD)