mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-27 03:43:37 +08:00
fix inotify detection for linux 2.4 (fixes glib2 and packages that depend on it on brcm-2.4)
SVN-Revision: 12896
This commit is contained in:
parent
a195b6d864
commit
cb73e4ad91
@ -31,7 +31,11 @@ include $(INCLUDE_DIR)/package-bin.mk
|
||||
include $(INCLUDE_DIR)/autotools.mk
|
||||
|
||||
override MAKEFLAGS=
|
||||
export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(patsubst %gnueabi,%,$(REAL_GNU_TARGET_NAME))
|
||||
CONFIG_SITE:=$(INCLUDE_DIR)/site/$(patsubst %gnueabi,%,$(REAL_GNU_TARGET_NAME))
|
||||
ifneq ($(CONFIG_LINUX_2_4),)
|
||||
CONFIG_SITE:=$(subst linux-,linux2.4-,$(CONFIG_SITE))
|
||||
endif
|
||||
export CONFIG_SITE
|
||||
CUR_MAKEFILE:=$(filter-out Makefile,$(firstword $(MAKEFILE_LIST)))
|
||||
SUBMAKE:=$(NO_TRACE_MAKE) $(if $(CUR_MAKEFILE),-f $(CUR_MAKEFILE))
|
||||
|
||||
|
5
include/site/mipsel-linux2.4-uclibc
Normal file
5
include/site/mipsel-linux2.4-uclibc
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
. $TOPDIR/include/site/mipsel-linux
|
||||
. $TOPDIR/include/site/linux-uclibc
|
||||
ac_cv_header_sys_inotify_h=no
|
Loading…
Reference in New Issue
Block a user