arm-kernel: config and modulbuild for arm.

This commit is contained in:
Arne Fitzenreiter
2011-09-07 12:14:00 +00:00
parent 780e11bde1
commit 2f5e1d4358
4 changed files with 32 additions and 21 deletions

View File

@@ -97,6 +97,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Build Updated asix usb-lan driver
cd $(DIR_APP)/drivers/net/usb && tar xvf $(DIR_DL)/asix-3.5.0a.tar.bz2
ifeq "$(MACHINE)" "arm"
# B43+B44 driver doesn't build on arm
cd $(DIR_APP) && sed -i -e "s|CONFIG_B43=m||g" config.mk
cd $(DIR_APP) && sed -i -e "s|CONFIG_B44=m||g" config.mk
endif
cd $(DIR_APP) && make KLIB=/lib/modules/$(KVER)-$(VERSUFIX) \
KMODPATH_ARG='INSTALL_MOD_PATH=' KMODDIR=kernel install-modules

View File

@@ -235,9 +235,11 @@ endif
rm -rvf /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/isdn/mISDN
rm -rvf /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/isdn/hardware/mISDN
ifneq "$(MACHINE)" "arm"
# Disable geode_aes modul
mv /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/crypto/geode-aes.ko \
/lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/crypto/geode-aes.ko.off
endif
endif
@rm -rf $(DIR_SRC)/patch-o-matic* $(DIR_SRC)/iptables* $(DIR_SRC)/squashfs* $(DIR_SRC)/netfilter-layer7-*