On 04.01.2016 01:43, Felix Fietkau wrote: > On 2016-01-04 01:34, Heinrich Schuchardt wrote: >> Source package libtool is used to package libltdl. >> Unfortunately binary libtoolize is missing. >> Packaging libtoolize would depend on package file which is in the >> packages feed. >> Felix Fietkau suggested to rename source libtool to libltdl >> and to create a new package libtool in packages. >> >> This patch contains the renaming. >> >> version 2 >> Renaming must occur inside Makefile too. > That Build/Prepare code is rather weird. How about leaving PKG_NAME > alone, removing Build/Prepare and just setting: > PKG_BUILD_DIR:=$(BUILD_DIR)/libltdl/$(PKG_NAME)-$(PKG_VERSION) > > - Felix > Does variable PKG_NAME have no significance outside? Doesn't it have to match the directory name?
What I want to avoid is that if I create devel/libtool/Makefile with PKG_NAME=libtool in feed packages I get any interference. Unfortunately wiki.openwrt.org does not really explain this. It seems that something like you propose has already be done in package/kernel/lantiq/ltq-adsl-fw/Makefile Best regards Heinrich _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
