-ifeq "$(MACHINE_TYPE)" "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
+ # uAP will not build with xen-kernel (2.6)
+ifneq "$(KCFG)" "-xen"
+ cd $(DIR_APP) && echo export CONFIG_LIBERTAS_UAP=m >> config.mk