Some (unfinished) x86 support
This commit is contained in:
parent
42da0db96c
commit
356ab27073
2
Makefile
2
Makefile
@ -61,6 +61,7 @@ define GluonModel
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
include $(GLUONDIR)/targets/targets.mk
|
include $(GLUONDIR)/targets/targets.mk
|
||||||
|
include $(GLUONDIR)/targets/$(GLUON_TARGET)/profiles.mk
|
||||||
|
|
||||||
|
|
||||||
CheckExternal := test -d $(GLUON_ORIGOPENWRTDIR) || (echo 'You don'"'"'t seem to have obtained the external repositories needed by Gluon; please call `make update` first!'; false)
|
CheckExternal := test -d $(GLUON_ORIGOPENWRTDIR) || (echo 'You don'"'"'t seem to have obtained the external repositories needed by Gluon; please call `make update` first!'; false)
|
||||||
@ -138,6 +139,7 @@ endef
|
|||||||
|
|
||||||
|
|
||||||
include $(GLUONDIR)/targets/targets.mk
|
include $(GLUONDIR)/targets/targets.mk
|
||||||
|
include $(GLUONDIR)/targets/$(GLUON_TARGET)/profiles.mk
|
||||||
|
|
||||||
BOARD := $(GLUON_TARGET_$(GLUON_TARGET)_BOARD)
|
BOARD := $(GLUON_TARGET_$(GLUON_TARGET)_BOARD)
|
||||||
override SUBTARGET := $(GLUON_TARGET_$(GLUON_TARGET)_SUBTARGET)
|
override SUBTARGET := $(GLUON_TARGET_$(GLUON_TARGET)_SUBTARGET)
|
||||||
|
@ -56,8 +56,6 @@ gluon_target := $(1)$$(if $(2),-$(2))
|
|||||||
GLUON_TARGETS += $$(gluon_target)
|
GLUON_TARGETS += $$(gluon_target)
|
||||||
GLUON_TARGET_$$(gluon_target)_BOARD := $(1)
|
GLUON_TARGET_$$(gluon_target)_BOARD := $(1)
|
||||||
GLUON_TARGET_$$(gluon_target)_SUBTARGET := $(2)
|
GLUON_TARGET_$$(gluon_target)_SUBTARGET := $(2)
|
||||||
|
|
||||||
include $$(GLUONDIR)/targets/$$(gluon_target)/profiles.mk
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
regex-escape = $(shell echo '$(1)' | sed -e 's/[]\/()$*.^|[]/\\&/g')
|
regex-escape = $(shell echo '$(1)' | sed -e 's/[]\/()$*.^|[]/\\&/g')
|
||||||
|
@ -1 +1,2 @@
|
|||||||
$(eval $(call GluonTarget,ar71xx,generic))
|
$(eval $(call GluonTarget,ar71xx,generic))
|
||||||
|
$(eval $(call GluonTarget,x86,generic))
|
||||||
|
4
targets/x86-generic/config
Normal file
4
targets/x86-generic/config
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
CONFIG_TARGET_x86=y
|
||||||
|
CONFIG_X86_USE_GRUB2=y
|
||||||
|
CONFIG_X86_VDI_IMAGES=y
|
||||||
|
CONFIG_X86_VMDK_IMAGES=y
|
4017
targets/x86-generic/kernel-config
Normal file
4017
targets/x86-generic/kernel-config
Normal file
File diff suppressed because it is too large
Load Diff
1
targets/x86-generic/kernel-vermagic
Normal file
1
targets/x86-generic/kernel-vermagic
Normal file
@ -0,0 +1 @@
|
|||||||
|
fa7af62e0ef1d529ecb7f7efccc706c3
|
1
targets/x86-generic/profiles.mk
Normal file
1
targets/x86-generic/profiles.mk
Normal file
@ -0,0 +1 @@
|
|||||||
|
$(eval $(call GluonProfile,Generic))
|
Loading…
Reference in New Issue
Block a user