7bed3967ae
This patch makes the build-system integration of noux packages usable for non-Noux targets. It moves the GNU build system wrapper to ports/mk/gnu_build.mk, which is now included by noux.mk. This way, non-noux applications can use the same build-system wrapper. So the porting of individual applications becomes easier. This change removes the 'NOUX_' prefix use the various build variables used by the noux-pkg's target.mk files to steer the behaviour of the GNU build system. E.g., NOUX_CONFIGURE_ARGS is now called CONFIGURE_ARGS. Note that there is a single exception to this pattern: The formerly named NOUX_LIBS is now called LDLIBS because the plain LIBS variable is used by the Genode build system. Fixes #2094
19 lines
516 B
PHP
19 lines
516 B
PHP
PKG_DIR = $(call select_from_ports,gdb)/src/noux-pkg/gdb
|
|
|
|
CONFIGURE_ARGS += --program-prefix=$(PROGRAM_PREFIX) \
|
|
--target=$(GDB_TARGET)
|
|
|
|
# the configure script calls the linker with "-lexpat", which fails
|
|
CONFIGURE_ARGS += --without-expat
|
|
CPPFLAGS += -DHAVE_LIBEXPAT=1
|
|
CFLAGS += -Wno-error=sizeof-pointer-memaccess -Wno-error=unused-value
|
|
|
|
LIBS += ncurses expat
|
|
|
|
# workaround for problems with makeinfo version 5
|
|
MAKE_ENV += "MAKEINFO=true"
|
|
|
|
INSTALL_TARGET = install
|
|
|
|
include $(REP_DIR)/mk/noux.mk
|