fix linux-atm build failure on brcm63xx (and probably other targets) (#7145)

SVN-Revision: 20826
This commit is contained in:
Florian Fainelli 2010-04-12 12:59:09 +00:00
parent 06cece53ef
commit b54bf53833

View file

@ -47,13 +47,13 @@ define Build/Configure
touch $(PKG_BUILD_DIR)/stamp-h.in touch $(PKG_BUILD_DIR)/stamp-h.in
endef endef
TARGET_CFLAGS += -I$(LINUX_DIR)/include TARGET_CFLAGS += -I$(LINUX_DIR)/include -I$(LINUX_DIR)/arch/$(LINUX_KARCH)/include
define Build/Compile define Build/Compile
# src/qgen is built with HOSTCC, which does not really like our LDFLAGS # src/qgen is built with HOSTCC, which does not really like our LDFLAGS
$(MAKE) -C $(PKG_BUILD_DIR)/src/qgen \ $(MAKE) -C $(PKG_BUILD_DIR)/src/qgen \
LDFLAGS="" \ LDFLAGS="" \
all all
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
all install all install