aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2018-05-22 16:09:00 -0700
committerGitHub <noreply@github.com>2018-05-22 16:09:00 -0700
commit10bf403ba8887e217bb1619efb92049c47ab8c01 (patch)
tree343a134219be59ee0347343a5ea415707d711ab3 /configure
parent9ffedde3d747a9b6f559041cc69478df6d647135 (diff)
parent474ee5a81880dcf60789e7c2a3054b3afb34c3ca (diff)
downloadriscv-pk-10bf403ba8887e217bb1619efb92049c47ab8c01.zip
riscv-pk-10bf403ba8887e217bb1619efb92049c47ab8c01.tar.gz
riscv-pk-10bf403ba8887e217bb1619efb92049c47ab8c01.tar.bz2
Merge pull request #107 from michaeljclark/fdt-firmware-only
RISC-V: Support separate firmware and kernel payload
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 12 insertions, 3 deletions
diff --git a/configure b/configure
index 5af7cee..058eea1 100755
--- a/configure
+++ b/configure
@@ -4092,7 +4092,6 @@ case "${BUILD_32BIT}" in
CFLAGS="$default_CFLAGS"
LDFLAGS=
install_subdir=$host_alias
-
;;
esac
@@ -4251,10 +4250,20 @@ fi
# Check whether --with-payload was given.
if test "${with_payload+set}" = set; then :
- withval=$with_payload; BBL_PAYLOAD=$with_payload
+ withval=$with_payload;
+ BBL_PAYLOAD=$with_payload
+
+
+$as_echo "#define RELAXED_ALIGNMENT 0" >>confdefs.h
+
else
- BBL_PAYLOAD=dummy_payload
+
+ BBL_PAYLOAD=dummy_payload
+
+
+$as_echo "#define RELAXED_ALIGNMENT 1" >>confdefs.h
+
fi