[Buildroot] [PATCH] ne10: new package
Arnout Vandecappelle
arnout at mind.be
Wed Apr 17 06:50:19 UTC 2013
On 13/04/13 20:09, Thomas Petazzoni wrote:
> +ifeq ($(BR2_PREFER_STATIC_LIB),)
> +define NE10_INSTALL_STAGING_SHARED_LIB
> + cp -dpf $(@D)/modules/libNE10*.so* $(STAGING_DIR)/usr/lib/
> +endef
> +endif
> +
> +define NE10_INSTALL_STAGING_CMDS
> + cp -dpf $(@D)/inc/NE10*h $(STAGING_DIR)/usr/include/
> + cp -dpf $(@D)/modules/libNE10.a $(STAGING_DIR)/usr/lib/
> + $(NE10_INSTALL_STAGING_SHARED_LIB)
> +endef
> +
> +
> +define NE10_INSTALL_TARGET_CMDS
> + cp -dpf $(@D)/modules/libNE10*.so* $(TARGET_DIR)/usr/lib/
> +endef
Shouldn't the latter one be inside an ifeq ($(BR2_PREFER_STATIC_LIB),)
as well? But then you probably need an else part as well to override the
default commands.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
More information about the buildroot
mailing list