mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
- generalize the menuconfig linux kernel support
- simplify toplevel mkdir rules a tiny bit
This commit is contained in:
parent
55c11889ab
commit
8d583fc01a
10
Makefile
10
Makefile
@ -88,14 +88,8 @@ dirs: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR)
|
|||||||
# dependencies anywhere else
|
# dependencies anywhere else
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
$(DL_DIR):
|
$(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR):
|
||||||
@mkdir -p $(DL_DIR)
|
@mkdir -p $@
|
||||||
|
|
||||||
$(BUILD_DIR):
|
|
||||||
@mkdir -p $(BUILD_DIR)
|
|
||||||
|
|
||||||
$(TOOL_BUILD_DIR):
|
|
||||||
@mkdir -p $(TOOL_BUILD_DIR)
|
|
||||||
|
|
||||||
$(STAGING_DIR):
|
$(STAGING_DIR):
|
||||||
@mkdir -p $(STAGING_DIR)/lib
|
@mkdir -p $(STAGING_DIR)/lib
|
||||||
|
@ -1,5 +1,20 @@
|
|||||||
menu "Board Support Options"
|
menu "Board Support Options"
|
||||||
|
|
||||||
|
config BR2_TARGET_GENERIC
|
||||||
|
bool "linux kernel"
|
||||||
|
default n
|
||||||
|
select BR2_PACKAGE_LINUX
|
||||||
|
help
|
||||||
|
Architecture or board dependant linux kernel.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LINUX
|
||||||
|
bool "linux"
|
||||||
|
default n
|
||||||
|
depends BR2_TARGET_GENERIC
|
||||||
|
help
|
||||||
|
The Linux kernel.
|
||||||
|
http://www.kernel.org/
|
||||||
|
|
||||||
source "target/device/AMD/Config.in"
|
source "target/device/AMD/Config.in"
|
||||||
source "target/device/Atmel/Config.in"
|
source "target/device/Atmel/Config.in"
|
||||||
source "target/device/Hitachi/Config.in"
|
source "target/device/Hitachi/Config.in"
|
||||||
|
@ -1,22 +1,6 @@
|
|||||||
comment "Generic x86 Device Support"
|
comment "Generic x86 Device Support"
|
||||||
depends BR2_i386
|
depends BR2_i386
|
||||||
|
|
||||||
config BR2_TARGET_X86_GENERIC
|
|
||||||
bool "Generic x86 support"
|
|
||||||
depends BR2_i386
|
|
||||||
default n
|
|
||||||
select BR2_PACKAGE_LINUX
|
|
||||||
help
|
|
||||||
Generic x86 support.
|
|
||||||
|
|
||||||
comment "Package support"
|
comment "Package support"
|
||||||
depends BR2_TARGET_AMD_ALCHEMY
|
depends BR2_TARGET_AMD_ALCHEMY
|
||||||
|
|
||||||
config BR2_PACKAGE_LINUX
|
|
||||||
bool "linux"
|
|
||||||
default n
|
|
||||||
depends BR2_TARGET_X86_GENERIC
|
|
||||||
help
|
|
||||||
The Linux kernel.
|
|
||||||
http://www.kernel.org/
|
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
ifeq ($(strip $(BR2_TARGET_X86_GENERIC)),y)
|
ifeq ($(strip $(BR2_TARGET_GENERIC)),y)
|
||||||
include target/device/x86/i386/Makefile.in
|
include target/device/x86/i386/Makefile.in
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user