mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-27 06:58:19 +00:00
Add libs.add target-libs.add
This commit is contained in:
@@ -8,19 +8,28 @@ CLEANFILES =
|
||||
SOLARIS_VERS = 2.7
|
||||
SOLARIS_RPMREL = 0.20060213.0
|
||||
|
||||
$(TARGET)-libs.spec: libs.spec.in
|
||||
sed -e "/[@]INSTALL_POST[@]/r ../common/installpost.add" \
|
||||
-e "/[@]INSTALL_POST[@]/d" \
|
||||
-e "/[@]FIND_REQPROV[@]/r ../common/find-reqprov.add" \
|
||||
-e "/[@]FIND_REQPROV[@]/d" \
|
||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||
LIBS_SUBPACKAGES = $(top_builddir)/common/common.add
|
||||
LIBS_SUBPACKAGES += libs.add
|
||||
LIBS_SUBPACKAGES += ../gcc/rpm-install.add
|
||||
LIBS_SUBPACKAGES += $(top_builddir)/common/clean.add
|
||||
LIBS_SUBPACKAGES += target-libs.add
|
||||
|
||||
$(TARGET)-libs.spec.in: $(LIBS_SUBPACKAGES)
|
||||
cat $(LIBS_SUBPACKAGES) | sed \
|
||||
-e "s,[@]_prefix[@],$(prefix),g" \
|
||||
-e "s,[@]rpmprefix[@],$(rpmprefix),g" \
|
||||
> $(TARGET)-libs.spec.in
|
||||
CLEANFILES += $(TARGET)-libs.spec.in
|
||||
|
||||
$(TARGET)-libs.spec: $(TARGET)-libs.spec.in
|
||||
sed \
|
||||
-e "s/@tool_target@/$(TARGET)/g" \
|
||||
-e "s/[@]SOLARIS_VERS[@]/$(SOLARIS_VERS)/g" \
|
||||
-e "s/[@]SOLARIS_RPMREL[@]/$(SOLARIS_RPMREL)/g" \
|
||||
$(srcdir)/libs.spec.in > $@
|
||||
$(srcdir)/$(TARGET)-libs.spec.in > $@
|
||||
CLEANFILES += $(TARGET)-libs.spec
|
||||
noinst_DATA += $(TARGET)-libs.spec
|
||||
|
||||
|
||||
BINUTILS_VERS = 2.16.1
|
||||
BINUTILS_RPMREL = 0.20060214.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user