X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2FmISDN;h=57db77fa1e0b12372b238b174e93ac50fb155828;hp=0fe76ec3758e82480ff9a688ab678e54fe7f36e6;hb=3037bccd0f73c7cdc09b66da0fcc363e5a895a1c;hpb=5114bcb3cdee18bdb30b71e9e0df2b559b561273 diff --git a/lfs/mISDN b/lfs/mISDN index 0fe76ec37..57db77fa1 100644 --- a/lfs/mISDN +++ b/lfs/mISDN @@ -111,5 +111,9 @@ ifneq "$(XEN)" "1" sed -i -e "s|.ko||g" /etc/modprobe.d/mISDN endif + # Remove mISDN modules that was shipped with the kernel + rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/isdn/mISDN + rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/isdn/hardware/mISDN + @rm -rf $(DIR_SRC)/mISDN* @$(POSTBUILD)