Remove spec_includes replacements from pkg-config
This commit is contained in:
parent
f037044ec5
commit
be04cfe899
|
@ -18,17 +18,5 @@ SED_FLAGS += -e "s|@ld@|$(LD)|"
|
||||||
SED_FLAGS += -e "s|@ar@|$(AR)|"
|
SED_FLAGS += -e "s|@ar@|$(AR)|"
|
||||||
SED_FLAGS += -e "s|@ranlib@|$(RANLIB)|"
|
SED_FLAGS += -e "s|@ranlib@|$(RANLIB)|"
|
||||||
|
|
||||||
ifeq (@(TUP_ARCH),i386)
|
|
||||||
SED_FLAGS += -e 's|@spec_includes@|-I${includedir}/spec/x86_32 -I${includedir}/spec/x86 -I${includedir}/spec/32bit|'
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq (@(TUP_ARCH),x86_64)
|
|
||||||
SED_FLAGS += -e 's|@spec_includes@|-I${includedir}/spec/x86_64 -I${includedir}/spec/x86 -I${includedir}/spec/64bit|'
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq (@(TUP_ARCH),arm64)
|
|
||||||
SED_FLAGS += -e 's|@spec_includes@| -I${includedir}/spec/arm_64 -I${includedir}/spec/64bit|'
|
|
||||||
endif
|
|
||||||
|
|
||||||
: foreach *.pc.in |> !sed_pkgconfig_file |>
|
: foreach *.pc.in |> !sed_pkgconfig_file |>
|
||||||
: |> ln -s genode-base.pc %o |> $(PKG_CONFIG_DIR)/base.pc $(GENODE_DIR)/<pkg-config>
|
: |> ln -s genode-base.pc %o |> $(PKG_CONFIG_DIR)/base.pc $(GENODE_DIR)/<pkg-config>
|
||||||
|
|
|
@ -9,4 +9,4 @@ Name: base
|
||||||
Description: Genode base repository
|
Description: Genode base repository
|
||||||
URL: https://genode.org/
|
URL: https://genode.org/
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Cflags: -I${includedir} @spec_includes@ -I@toolchainincludedir@
|
Cflags: -I${includedir} -I@toolchainincludedir@
|
||||||
|
|
|
@ -5,4 +5,4 @@ Description: Genode os repository
|
||||||
URL: https://genode.org/
|
URL: https://genode.org/
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: genode-base
|
Requires: genode-base
|
||||||
Cflags: @spec_includes@ -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
|
Loading…
Reference in New Issue