mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
Fix some silly bugs: a variable for gcc was used before it was defined, remove
'.svn' not 'CVS' from the install, add 2.4.29 kernel headers as the default.
This commit is contained in:
parent
aba5e68975
commit
1a35a66350
2
Makefile
2
Makefile
@ -109,7 +109,7 @@ $(STAGING_DIR):
|
|||||||
$(TARGET_DIR):
|
$(TARGET_DIR):
|
||||||
zcat target/default/skel.tar.gz | tar -C $(BUILD_DIR) -xf -
|
zcat target/default/skel.tar.gz | tar -C $(BUILD_DIR) -xf -
|
||||||
cp -a target/default/target_skeleton/* $(TARGET_DIR)/
|
cp -a target/default/target_skeleton/* $(TARGET_DIR)/
|
||||||
-find $(TARGET_DIR) -type d -name CVS -exec rm -rf {} \; > /dev/null 2>&1
|
-find $(TARGET_DIR) -type d -name .svn -exec rm -rf {} \; > /dev/null 2>&1
|
||||||
|
|
||||||
source: $(TARGETS_SOURCE)
|
source: $(TARGETS_SOURCE)
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ comment "Kernel Header Options"
|
|||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Kernel Headers"
|
prompt "Kernel Headers"
|
||||||
default BR2_KERNEL_HEADERS_2_4_27
|
default BR2_KERNEL_HEADERS_2_4_29
|
||||||
help
|
help
|
||||||
Select the version of kernel header files you wish to use.
|
Select the version of kernel header files you wish to use.
|
||||||
You must select the correct set of header files to match
|
You must select the correct set of header files to match
|
||||||
@ -18,6 +18,9 @@ choice
|
|||||||
config BR2_KERNEL_HEADERS_2_4_27
|
config BR2_KERNEL_HEADERS_2_4_27
|
||||||
bool "Linux 2.4.27 kernel headers"
|
bool "Linux 2.4.27 kernel headers"
|
||||||
|
|
||||||
|
config BR2_KERNEL_HEADERS_2_4_29
|
||||||
|
bool "Linux 2.4.29 kernel headers"
|
||||||
|
|
||||||
config BR2_KERNEL_HEADERS_2_6_8
|
config BR2_KERNEL_HEADERS_2_6_8
|
||||||
bool "Linux 2.6.8 kernel headers (with mips fixes)"
|
bool "Linux 2.6.8 kernel headers (with mips fixes)"
|
||||||
|
|
||||||
@ -30,6 +33,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
|
|||||||
string
|
string
|
||||||
default "2.4.25" if BR2_KERNEL_HEADERS_2_4_25
|
default "2.4.25" if BR2_KERNEL_HEADERS_2_4_25
|
||||||
default "2.4.27" if BR2_KERNEL_HEADERS_2_4_27
|
default "2.4.27" if BR2_KERNEL_HEADERS_2_4_27
|
||||||
|
default "2.4.29" if BR2_KERNEL_HEADERS_2_4_29
|
||||||
default "2.6.8" if BR2_KERNEL_HEADERS_2_6_8
|
default "2.6.8" if BR2_KERNEL_HEADERS_2_6_8
|
||||||
default "2.6.9" if BR2_KERNEL_HEADERS_2_6_9
|
default "2.6.9" if BR2_KERNEL_HEADERS_2_6_9
|
||||||
|
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
# by a 'make clean' so don't put anything sacred in here...
|
# by a 'make clean' so don't put anything sacred in here...
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
|
DEFAULT_KERNEL_HEADERS:=$(strip $(subst ",, $(BR2_DEFAULT_KERNEL_HEADERS)))
|
||||||
|
#"
|
||||||
|
|
||||||
ifneq ($(filter $(TARGETS),kernel-headers),)
|
ifneq ($(filter $(TARGETS),kernel-headers),)
|
||||||
DEFAULT_KERNEL_HEADERS:=$(strip $(DEFAULT_KERNEL_HEADERS))
|
DEFAULT_KERNEL_HEADERS:=$(strip $(DEFAULT_KERNEL_HEADERS))
|
||||||
|
|
||||||
@ -24,12 +27,21 @@ endif
|
|||||||
ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.4.27")
|
ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.4.27")
|
||||||
VERSION:=2
|
VERSION:=2
|
||||||
PATCHLEVEL:=4
|
PATCHLEVEL:=4
|
||||||
SUBLEVEL:=25
|
SUBLEVEL:=27
|
||||||
LINUX_HEADERS_SITE:=http://www.uclibc.org/downloads/toolchain
|
LINUX_HEADERS_SITE:=http://www.uclibc.org/downloads/toolchain
|
||||||
LINUX_HEADERS_SOURCE:=linux-libc-headers-2.4.27.tar.bz2
|
LINUX_HEADERS_SOURCE:=linux-libc-headers-2.4.27.tar.bz2
|
||||||
LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.27
|
LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.27
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.4.29")
|
||||||
|
VERSION:=2
|
||||||
|
PATCHLEVEL:=4
|
||||||
|
SUBLEVEL:=29
|
||||||
|
LINUX_HEADERS_SITE:=http://www.uclibc.org/downloads/toolchain
|
||||||
|
LINUX_HEADERS_SOURCE:=linux-libc-headers-2.4.29.tar.bz2
|
||||||
|
LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.29
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.6.7")
|
ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.6.7")
|
||||||
VERSION:=2
|
VERSION:=2
|
||||||
PATCHLEVEL:=6
|
PATCHLEVEL:=6
|
||||||
@ -143,11 +155,3 @@ kernel-headers-dirclean:
|
|||||||
rm -rf $(LINUX_HEADERS_DIR)
|
rm -rf $(LINUX_HEADERS_DIR)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
DEFAULT_KERNEL_HEADERS:=$(strip $(subst ",, $(BR2_DEFAULT_KERNEL_HEADERS)))
|
|
||||||
#"
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user