1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-26 02:06:17 +02:00

libgii: include all the drivers in ipk package and staging dir

This commit is contained in:
David Kühling 2011-01-04 19:56:33 +01:00
parent a7636d86f6
commit a862cbed29

View File

@ -38,7 +38,11 @@ from set in stone yet, and is likely to change.
endef endef
TARGET_CFLAGS += TARGET_CFLAGS +=
CONFIGURE_VARS +=
# fix for dependency between libgii and libgg. If not rpath configured
# linking with libgii and not libgg fails.
#TARGET_LDFLAGS += -Wl,-rpath -Wl,$(STAGING_DIR)/usr/lib
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-mutexes=builtin \ --enable-mutexes=builtin \
--disable-x --disable-x
@ -57,13 +61,14 @@ define Build/InstallDev
$(PKG_INSTALL_DIR)/usr/include/* \ $(PKG_INSTALL_DIR)/usr/include/* \
$(1)/usr/include/ $(1)/usr/include/
$(CP) \ $(CP) \
$(PKG_INSTALL_DIR)/usr/lib/*.{a,so*} \ $(PKG_INSTALL_DIR)/usr/lib/*.{la,a,so*} \
$(1)/usr/lib/ $(1)/usr/lib/
endef endef
define Package/libgii/install define Package/libgii/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ggi $(1)/usr/lib/
$(INSTALL_DIR) $(1)/etc/ggi $(INSTALL_DIR) $(1)/etc/ggi
$(CP) $(PKG_INSTALL_DIR)/etc/ggi/* $(1)/etc/ggi/ $(CP) $(PKG_INSTALL_DIR)/etc/ggi/* $(1)/etc/ggi/
endef endef