Message ID | 20180322180940.8253-4-jcmvbkbc@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 03/22/2018 03:09 PM, Max Filippov wrote: > Change #include <xtensa-isa.h> to #include "xtensa-isa.h" in imported > files to make references to local files consistent. > > Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > --- > target/xtensa/import_core.sh | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/target/xtensa/import_core.sh b/target/xtensa/import_core.sh > index 58a42987d853..af6c6104792d 100755 > --- a/target/xtensa/import_core.sh > +++ b/target/xtensa/import_core.sh > @@ -33,6 +33,7 @@ tar -xf "$OVERLAY" -O binutils/xtensa-modules.c | \ > -e '/^uint32 \*bypass_entry(int i)/,/}/d' \ > -e '/^#include "ansidecl.h"/d' \ > -e '/^Slot_[a-zA-Z0-9_]\+_decode (const xtensa_insnbuf insn)/,/^}/s/^ return 0;$/ return XTENSA_UNDEFINED;/' \ > + -e 's/#include <xtensa-isa.h>/#include "xtensa-isa.h"/' \ > > "$TARGET"/xtensa-modules.inc.c > > cat <<EOF > "${TARGET}.c" >
diff --git a/target/xtensa/import_core.sh b/target/xtensa/import_core.sh index 58a42987d853..af6c6104792d 100755 --- a/target/xtensa/import_core.sh +++ b/target/xtensa/import_core.sh @@ -33,6 +33,7 @@ tar -xf "$OVERLAY" -O binutils/xtensa-modules.c | \ -e '/^uint32 \*bypass_entry(int i)/,/}/d' \ -e '/^#include "ansidecl.h"/d' \ -e '/^Slot_[a-zA-Z0-9_]\+_decode (const xtensa_insnbuf insn)/,/^}/s/^ return 0;$/ return XTENSA_UNDEFINED;/' \ + -e 's/#include <xtensa-isa.h>/#include "xtensa-isa.h"/' \ > "$TARGET"/xtensa-modules.inc.c cat <<EOF > "${TARGET}.c"
Change #include <xtensa-isa.h> to #include "xtensa-isa.h" in imported files to make references to local files consistent. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- target/xtensa/import_core.sh | 1 + 1 file changed, 1 insertion(+)