Skip to content

Commit

Permalink
app-tools: respect CONFIG_CXX
Browse files Browse the repository at this point in the history
  • Loading branch information
anttikantee committed Dec 30, 2015
1 parent d3cbb86 commit 30202a0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app-tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ SPECS:= ${SPECS_ARCH} ${SPECS_MACH}

_BIN_G= ar as cpp ld nm objcopy objdump ranlib readelf size strings strip
BIN_G= $(_BIN_G:%=$(TOOLTUPLE)-%)
BIN_G+= $(TOOLTUPLE)-$(_CCVARIANT) $(TOOLTUPLE)-$(_CXXVARIANT)
BIN_G+= $(TOOLTUPLE)-$(_CCVARIANT)
CCWRP= ${CC}
ifeq (${CONFIG_CXX},yes)
BIN_G+= $(TOOLTUPLE)-$(_CXXVARIANT)
CCWRP+= ${CXX}
endif
BIN_G+= rumprun-bake
STATICBIN= rumprun rumpstop

Expand Down Expand Up @@ -100,7 +105,7 @@ ${INSTALLDIR_ARCH}/share:
mkdir -p $@

install-buildrumpwrappers: ${BRLIBEXECINST} ${BRTOOLS}
install -m 0755 ${BRTOOLS} ${CC} ${CXX} ${BRLIBEXECINST}
install -m 0755 ${BRTOOLS} ${CCWRP} ${BRLIBEXECINST}
install -m 0755 ${BRSOURCEDIR}/brprintmetainfo ${BRLIBEXECINST}

install-bins: ${GENS.bin} ${STATICBIN}
Expand Down

0 comments on commit 30202a0

Please sign in to comment.