On 06.07.2011 00:38, Luca Olivetti wrote:
> Al 05/07/11 22:47, En/na Matthias Buecher / Germany ha escrit:
>
>>
>> But now I run into another issue with ltq-tapi:
>
>
> Unsurprisingly, since, AFAIK, that's only meant for lantiq hardware,
> so you should deselect it.
> Did you select it in make menuconfig or was it selected automatically?
>
It was selected automatically by "Build all packages".
I adopted the platform exclusion from the other Lantiq packages.
Let's hope this will be the last compilation issue for Orion.
Good night
Maddes
Index: package/ltq-tapi/Makefile
===================================================================
--- package/ltq-tapi/Makefile (revision 27463)
+++ package/ltq-tapi/Makefile (working copy)
@@ -60,10 +60,12 @@
$(call Build/Configure/Default)
endef
-define Build/InstallDev
+ifdef CONFIG_TARGET_lantiq
+ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/drv_tapi
$(CP) --dereference $(PKG_BUILD_DIR)/include/* $(1)/usr/include/drv_tapi
(cd $(1)/usr/include/drv_tapi && ln -s . include && ln -s
../ifxos/ifx_types.h .)
-endef
+ endef
+endif
$(eval $(call KernelPackage,ltq-tapi))
Index: package/ltq-tapi/Makefile
===================================================================
--- package/ltq-tapi/Makefile (revision 27463)
+++ package/ltq-tapi/Makefile (working copy)
@@ -60,10 +60,12 @@
$(call Build/Configure/Default)
endef
-define Build/InstallDev
+ifdef CONFIG_TARGET_lantiq
+ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/drv_tapi
$(CP) --dereference $(PKG_BUILD_DIR)/include/* $(1)/usr/include/drv_tapi
(cd $(1)/usr/include/drv_tapi && ln -s . include && ln -s ../ifxos/ifx_types.h .)
-endef
+ endef
+endif
$(eval $(call KernelPackage,ltq-tapi))
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel