Commit 7b094701 authored by Jens Korinth's avatar Jens Korinth

Bugfix in tapasco-build-libs (missing LKM)

parent 877e715c
......@@ -25,10 +25,10 @@ if not 'TAPASCO_PLATFORM' in os.environ:
print('Platform: ' + os.environ['TAPASCO_PLATFORM'])
moddir = '$TAPASCO_HOME/platform/$TAPASCO_PLATFORM/module'
pdir = '$TAPASCO_HOME/platform/$TAPASCO_PLATFORM/build'
adir = '$TAPASCO_HOME/arch/axi4mm/build'
tdir = '$TAPASCO_HOME/arch/tests/build'
moddir = os.environ['TAPASCO_HOME'] + '/platform/' + os.environ['TAPASCO_PLATFORM'] + '/module'
pdir = os.environ['TAPASCO_HOME'] + '/platform/' + os.environ['TAPASCO_PLATFORM'] + '/build'
adir = os.environ['TAPASCO_HOME'] + '/arch/axi4mm/build'
tdir = os.environ['TAPASCO_HOME'] + '/arch/tests/build'
if clean or args.rebuild:
subprocess.call(['rm -rf ' + pdir], shell=True)
......@@ -45,12 +45,11 @@ if not clean:
if 'LINUX_HOME' in os.environ:
subprocess.call(['make -C ' + os.environ['LINUX_HOME'] + ' scripts'], shell=True)
else:
if os.environ['TAPASCO_PLATFORM'] is 'vc709':
print 'cd ' + moddir + ' && make ' + ('DEBUG_VERBOSE=y ' if driver_debug else ' ')
subprocess.call(['cd ' + moddir + ' && make ' + ('DEBUG_VERBOSE=y ' if driver_debug else ' ')], shell=True)
else:
subprocess.call(['cd ' + moddir + ' && make ' + ('' if driver_debug else 'release ')], shell=True)
if os.environ['TAPASCO_PLATFORM'] is 'vc709':
print 'cd ' + moddir + ' && make ' + ('DEBUG_VERBOSE=y ' if driver_debug else ' ')
subprocess.call(['cd ' + moddir + ' && make ' + ('DEBUG_VERBOSE=y ' if driver_debug else ' ')], shell=True)
else:
subprocess.call(['cd ' + moddir + ' && make ' + ('' if driver_debug else 'release ')], shell=True)
subprocess.call(['mkdir -p ' + pdir + ' && cd ' + pdir + ' && cmake ' + ('' if debug else '-DCMAKE_BUILD_TYPE=Release') + ' .. && make && make install'], shell=True)
subprocess.call(['mkdir -p ' + adir + ' && cd ' + adir + ' && cmake ' + ('' if debug else '-DCMAKE_BUILD_TYPE=Release') + ' .. && make && make install'], shell=True)
subprocess.call(['mkdir -p ' + tdir + ' && cd ' + tdir + ' && cmake ' + ('' if debug else '-DCMAKE_BUILD_TYPE=Release') + ' .. && make && make install'], shell=True)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment