summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/brutefir/Makefile8
-rw-r--r--package/orbit2/Makefile4
2 files changed, 5 insertions, 7 deletions
diff --git a/package/brutefir/Makefile b/package/brutefir/Makefile
index 6ce46c7b3..0b181a915 100644
--- a/package/brutefir/Makefile
+++ b/package/brutefir/Makefile
@@ -16,12 +16,11 @@ PKG_SITES:= http://www.ludd.luth.se/~torger/files/
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
-MAKE_ENV+= FLEX=$(STAGING_HOST_DIR)/usr/bin/flex UNAME_M=$(ADK_TARGET_ARCH)
-
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BRUTEFIR,brutefir,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+CONFIG_STYLE= manual
ifeq ($(ADK_TARGET_CPU_WITH_SSE2),y)
TARGET_CFLAGS+= -msse2
else
@@ -30,11 +29,10 @@ TARGET_CFLAGS+= -msse
endif
endif
-GCCPATH:= $(subst libgcc.a,,$(shell $(TARGET_CC) -print-libgcc-file-name))
+MAKE_ENV+= FLEX=$(STAGING_HOST_DIR)/usr/bin/flex UNAME_M=$(ADK_TARGET_ARCH)
+GCCPATH:= $(subst libgcc.a,,$(shell $(TARGET_CC) -print-libgcc-file-name 2>/dev/null))
XAKE_FLAGS+= LIBPATHS="-L$(GCCPATH)"
-CONFIG_STYLE= manual
-
brutefir-install:
$(INSTALL_DIR) $(IDIR_BRUTEFIR)/usr/bin
$(INSTALL_DIR) $(IDIR_BRUTEFIR)/usr/lib
diff --git a/package/orbit2/Makefile b/package/orbit2/Makefile
index 09a846f0f..121475c9c 100644
--- a/package/orbit2/Makefile
+++ b/package/orbit2/Makefile
@@ -24,9 +24,9 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ORBIT2,orbit2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-HOST_CFLAGS+= $(shell env $(HOST_CONFIGURE_ENV) libIDL-config-2 --cflags)
+HOST_CFLAGS+= $(shell env $(HOST_CONFIGURE_ENV) libIDL-config-2 --cflags 2>/dev/null)
HOST_LDFLAGS+= -static
-HOST_LIBS:= $(shell env $(HOST_CONFIGURE_ENV) libIDL-config-2 --libs)
+HOST_LIBS:= $(shell env $(HOST_CONFIGURE_ENV) libIDL-config-2 --libs 2>/dev/null)
HOST_LIBS+= -lgmodule-2.0 -ldl -lpthread -lrt -lglib-2.0
CONFIGURE_ENV+= ac_cv_alignof_CORBA_octet=1 \
ac_cv_alignof_CORBA_boolean=1 \