aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorYan <892930505@qq.com>2020-11-01 08:14:48 +0800
committerGitHub <noreply@github.com>2020-10-31 17:14:48 -0700
commita4d4298ca10527a51fad86c53a93c48e6f510092 (patch)
tree7f2c843dd521181cbf3ae8ffa5ba660997c0b3f3 /configure
parentdef2f01eee49aa639c6e393d161687998cd64c4e (diff)
downloadriscv-pk-a4d4298ca10527a51fad86c53a93c48e6f510092.zip
riscv-pk-a4d4298ca10527a51fad86c53a93c48e6f510092.tar.gz
riscv-pk-a4d4298ca10527a51fad86c53a93c48e6f510092.tar.bz2
Disable device tree filter when load a dts from file (#219)
* add device tree in elf, using --with-dts to add the absolute path of device tree * Disable device tree filter * Remove *.dtb dependence, when the --with-dts option is not used
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure29
1 files changed, 28 insertions, 1 deletions
diff --git a/configure b/configure
index 9d2c146..2e88eb9 100755
--- a/configure
+++ b/configure
@@ -590,6 +590,7 @@ ac_subst_vars='LTLIBOBJS
LIBOBJS
subprojects_enabled
subprojects
+CUSTOM_DTS
BBL_LOGO_FILE
BBL_PAYLOAD
BBL_ENABLE_LOGO
@@ -648,6 +649,7 @@ infodir
docdir
oldincludedir
includedir
+runstatedir
localstatedir
sharedstatedir
sysconfdir
@@ -683,6 +685,7 @@ with_payload
with_logo
enable_boot_machine
enable_fp_emulation
+with_dts
'
ac_precious_vars='build_alias
host_alias
@@ -737,6 +740,7 @@ datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
+runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -989,6 +993,15 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ -runstatedir | --runstatedir | --runstatedi | --runstated \
+ | --runstate | --runstat | --runsta | --runst | --runs \
+ | --run | --ru | --r)
+ ac_prev=runstatedir ;;
+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
+ | --run=* | --ru=* | --r=*)
+ runstatedir=$ac_optarg ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1126,7 +1139,7 @@ fi
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
+ libdir localedir mandir runstatedir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
@@ -1279,6 +1292,7 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
@@ -1331,6 +1345,7 @@ Optional Packages:
--with-mem-start Set physical memory start address
--with-payload Set ELF payload for bbl
--with-logo Specify a better logo
+ --with-dts Specify a customize dts
Some influential environment variables:
CC C compiler command
@@ -4469,6 +4484,18 @@ $as_echo "#define PK_ENABLE_FP_EMULATION /**/" >>confdefs.h
fi
+# Check whether --with-dts was given.
+if test "${with_dts+set}" = set; then :
+ withval=$with_dts; CUSTOM_DTS=$with_dts
+
+else
+ CUSTOM_DTS=no
+
+
+fi
+
+
+