lantiq: Make ltq-ifxos compile with kernel 4.1
[lede-git/.git] / package / kernel / lantiq / ltq-ifxos / Makefile
index 1364849bc6935129cca8dc34c3569821891b4232..375875227e6ad1c7c88bf9c1a13d0c6c773b9193 100644 (file)
@@ -14,6 +14,9 @@ PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
 PKG_MD5SUM:=bc107f9d8ff6bed4c2760a2817bbb029
 PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
 
+PKG_USE_MIPS16:=0
+PKG_FIXUP:=autoreconf
+
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/ltq-ifxos
@@ -34,11 +37,6 @@ CONFIGURE_ARGS += \
        --enable-kernelincl="$(LINUX_DIR)/include" \
        --enable-add_drv_cflags="-fno-pic -mno-abicalls -mlong-calls -G 0"
 
-define Build/Configure
-       (cd $(PKG_BUILD_DIR); aclocal && autoconf && automake)
-       $(call Build/Configure/Default)
-endef
-
 ifdef CONFIG_TARGET_lantiq
   define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/{lib,include/ifxos}