mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
arm-kernel: config and modulbuild for arm.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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-*
|
||||
|
||||
Reference in New Issue
Block a user